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.