Sharing of installation methods for various packages under Linux system

Source: Internet
Author: User
Tags bz2 chmod

first, the RPM package installation method steps:

1, find the appropriate software packages, such as soft.version.rpm, download to a directory of this machine;

2, open a terminal, Su-as root user;

3, CD soft.version.rpm in the directory;

4, input RPM-IVH soft.version.rpm

 Second, the Deb package installation method steps:

1, find the appropriate software packages, such as Soft.version.deb, download to a directory of this machine;

2, open a terminal, Su-as root user;

3, CD Soft.version.deb in the directory;

4, input dpkg-i Soft.version.deb

 Three, tar.gz source code package installation method:

1, find the appropriate software packages, such as soft.tar.gz, download to a directory of this machine;

2, open a terminal, Su-as root user;

3, CD soft.tar.gz in the directory;

4, TAR-XZVF soft.tar.gz//general will generate a soft directory

5. CD Soft

6./configure

7, make

8, make install

  Four, tar.bz2 source code package installation method:

1, find the appropriate software packages, such as soft.tar.bz2, download to a directory of this machine;

2, open a terminal, Su-as root user;

3, CD soft.tar.bz2 in the directory;

4, TAR-XJVF soft.tar.bz2//general will generate a soft directory

5. CD Soft

6./configure

7, make

8, make install

  Five, Apt way installs:

1, open a terminal, Su-as root user;

2, Apt-cache search Soft Note: Soft is the name of the software you are looking for or related information

3, if 2 found the software soft.version, then use the Apt-get install soft.version command to install software Note: As long as you can access the Internet, you need to use Apt-cache search software, apt-get install software

 Six, bin file installation:

If you download to the software name is Soft.bin, generally is an executable file, the installation method is as follows:

1, open a terminal, Su-as root user;

2, chmod +x Soft.bin

3./soft.bin//Run this command to install the software.

 Seven, do not need to install the software:

With some software, such as LUMAQQ, is not required to install, with the JRE after the solution can be directly run. Suppose the download is lumaqq.tar.gz, using the following method:

1, open a terminal, Su-as root user;

2, TAR-XZVF lumaqq.tar.gz//This step will generate a directory called Lumaqq

3. CD Lumaqq

4, chmod +x lumaqq//Set LUMAQQ This program file is run

5, at this time can run Lumaqq, with the command./lumaqq, but every time you run to enter a full path or switch to the LUMAQQ directory you just generated.

6, in order to ensure that you do not set the path can be used, you can create a lumaqq in the/bin directory link, with the command ln-s lumaqq/bin/can be, any time later open a terminal input LUMAQQ can start QQ chat software

7, if you want to Lumaqq have a menu item, using the menu editing tools, such as Alacarte menu Editor, find the Lumaqq directory generated above the LUMAQQ set a menu item, of course, you can also directly to/usr/share/ Applications directory, according to the other *.desktop files in the format of a desktop file can be generated.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.