"Linux" tar.gz (BZ or BZ2, etc.) end of source code package

Source: Internet
Author: User

This package is a source program, not compiled, need to be compiled to install

1. Open a shell, that is, the terminal

2. Use the CD command to enter the directory where the source code compression package is located

3. Unzip the file according to the package type (* represents the package name)

TAR-ZXVF filename.tar.gz

TAR-JXVF filename.tar.bz (or bz2)

4. Use the CD command to enter the unzipped directory

5. Enter the compile file command:./configure (some compression packages have been compiled, this step can be omitted)

6. Then the command: Make

7, then the installation file command: Make install

8, Installation completed

Default path: Note The install directory during the make install command, or read the Readme file in the installation directory.

Specify the installation directory: after the./configure command, add the parameter--prefix= path, which can be viewed through the./configure–help command to see which parameters are supported by the program.

such as:./configure--prefix=/usr/local/folder, that is, the software is installed in the/usr/local/path folder. The default installation directory for general software is in/usr/local or/opt

Unloading:

1. Open a shell, that is, the terminal

2, use the CD command to enter the compiled software directory, that is, the installation of the directory

3. Execute the Anti-installation command: Make Uninstall

"Linux" tar.gz (BZ or BZ2, etc.) end of source code package

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.