Install software in Linux

Source: Internet
Author: User

The Linux software installation package has multiple formats, such as rpm?deb=tag.gz=tar.bz2 and bin. Prepare files are the most common and need to be installed after make. Some files do not contain the configure file, but they should contain install instructions, follow the prompts above to avoid installation problems. Run the command to install the file directly after the RPM is decompressed. The binfile must be directly installed after the execution permission is granted.

The following describes how to install common software installation packages using commands under terminal. Before installation, you must switch to the root permission.

1. Steps for installing the RPM package:

1. Find the corresponding software package, such as soft. version. rpm, and download it to a local directory;

2. Open a terminal and Su-become the root user;

3. directory where CD soft. version. rpm is located;

4. Input rpm-IVH soft. version. rpm

 

Ii. Steps for installing the Deb package:

1. Find the corresponding software package, such as soft. version. Deb, and download it to a local directory;

2. Open a terminal and Su-become the root user;

3. directory where CD soft. version. Deb is located;

4. Input dpkg-I soft. version. Deb

 

Install the Three-character tar.gz source code package:

1. Find the corresponding software package, such as soft.tar.gz, and download it to a local directory;

2. Open a terminal and Su-become the root user;

3. directory where CD soft.tar.gz is located;

4. Tar-xzvf soft.tar.gz // a soft directory is usually generated.

5. CD soft

6../configure

7. Make

8. make install

 

Installation Method of source code package:

1. Find the corresponding software package, such as soft.tar.bz2, and download it to a local directory;

2. Open a terminal and Su-become the root user;

3. directory where CD soft.tar.bz2 is located;

4. Tar-xjvf soft.tar.bz2 // a soft directory is usually generated.

5. CD soft

6../configure

7. Make

8. make install

 

5. APT installation:

1. Open a terminal and Su-become the root user;

2. APT-cache search soft Note: Soft is the name or related information of the software you are looking.

3. If software soft is found in step 2. version, use apt-Get install soft. version command to install software Note: as long as you can access the Internet, you only need to use apt-cachesearch to find the software and use apt-Get install software.

 

Vi. binfile installation:

If the software you downloaded is soft. Bin, it is generally an executable file. The installation method is as follows:

1. Open a terminal and Su-become the root user;

2. chmod + x soft. Bin

3. Run the./soft. Bin // command to install the software.

Related Article

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.