The software, which was installed in the usual way in the http://www.cnblogs.com/EasonJim/p/7117567.html article, will be automatically reflected in the command line and Dash home.
However, if you are installing using a compressed package, these should be handled on your own.
First, the preparatory work
1. Path:
/OPT directory for third-party software
The/usr/bin directory is used to store shortcuts to third-party software that can be used on the terminal as long as it is here.
/usr/share/applications is used to store dash icons, with a suffix of. Desktop, with a specific set of syntax
~/.local/share/applications Ibid, this time hidden folder, for each user
2, Decompression:
If it is in the desktop environment, you can use the Archive tool for decompression, GUI operation.
When using the following command, if no installation package can be installed through Apt-get.
tar.gz:
sudo tar zxvf file.tar.gz
TAR.BZ2:
sudo tar jxvf file.tar.bz2
rar
sudo rar a File.rar
Tar. Z:
sudo uncompress file.tar.z
Zip:
#必须安装7zip
sudo 7z x manager.7z
sudo unzip File.zip
Tar
sudo tar-cvf File.tar
Second, the actual operation
To install third-party mainly:
Unpack the Tarball
Put the unpacked folder under the/opt.
sudo mv electronic-wechat-linux-x64//opt/electronic-wechat-linux-x64
Create a quick Start command under terminal
sudo ln-s/opt/electronic-wechat-linux-x64/electronic-wechat/usr/bin/electronic-wechat
Create a Quick Launch icon under Dash Home
#Dash home icons are generally in two locations/usr/share/applications# or ~/.local/share/applications (the basic user-independent configuration is here) #只要在一个位置建立图标文件即可sudo VI/ Usr/share/applications/electronic-wechat.desktop
[Desktop Entry] Encoding=utf-8version=1.0type=applicationname=electronic wechaticon=electronic-wechat.pngexec=/opt/ electronic-wechat-linux-x64/electronic-wechatstartupnotify=falsestartupwmclass=electronic-wechatonlyshowin= Unity; X-unitygenerated=true
Reference:
http://www.cnblogs.com/EasonJim/p/7114667.html (Installation)
http://www.cnblogs.com/EasonJim/p/7113225.html (software folder drop location)
Http://www.cnblogs.com/EasonJim/p/7114676.html (dash icon placement)
http://ggicci.blog.163.com/blog/static/210364096201210219225273/(IDEA)
http://blog.163.com/[email protected]/blog/static/132969399201063135139980/(unzip)
http://blog.csdn.net/zqlovlg/article/details/8033456 (Unzip)
Http://www.linuxidc.com/Linux/2012-08/68122.htm (Unzip)
Install green Software (compact package) in an unconventional way under Ubuntu