Install green Software (compact package) in an unconventional way under Ubuntu

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.