Linux source code installer

Source: Internet
Author: User

Linux from the source code installer 1. First, copy the installation file to your directory. For example, if you log on as root, copy the software to/root. # Cp xxx.tar.gz/root www.2cto.com 2. Because the file is compressed and packaged, decompress it. Command: # tar xvzf filename.tar.gz if it is in the filename.tar.bz2 format, it should be tar jxvf filename.tar.bz2 to decompress 3. After executing this command, install the file in the path and decompress it in the current directory. Run the ls command to view the decompressed file. Generally, the files generated after decompression contain the "Install" file. This file is a plain text file that describes the installation method of the software package in detail. Www.2cto.com 4. An executable script named configure generated after decompression. It is used to check whether the system has the library required for compilation, and whether the library version meets the compilation requirements and other system information required for installation. Prepare for subsequent compilation. Command :#. /configure if you want to install the software to the specified directory, use #. /configure -- prefix =/the directory you specify. For example, if you want to install an mlterm in the/opt/mlterm directory, enter the following #. /configure -- prefix =/opt/mlterm 5. after the check is passed, the MakeFile file for compilation will be generated. Now you can start compiling. The compilation process varies depending on the software scale and computer performance. Command: # make. 6. After compilation, enter the following command to start installation: # make install 7. After installation is complete, clear the temporary files generated during compilation and files generated during configuration. Run the following command: # make clean # make distclean.
 

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.