How to install rpm,deb,tar.gz,tar.bz2, APT, Bin files in Linux

Source: Internet
Author: User
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.

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.