How to install rpm,deb,tar.gz,tar.bz2, APT, Bin files in Linux
First install the alien package that comes with the system: terminal-su-Enter password-enter root user-
Sudo apt-Get install alien
In this way, the alien package is installed! (If alien package can not be install, you can try running "rpm-Q"
First, and then start running "sudo apt-Get install alien ".)
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
Trigger tar.gzSource codePackage installation method:
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
Siro tar.bz2 SourceCodePackage installation method:
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-cache search to find the software, 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.