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. Export cpxxx.tar.gz/rootwww.2cto. com2. because the file is compressed and packaged, decompress it... 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.
 
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.