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.