[Linux] software source installation - Tarball

  
        

What is Tarball

The so-called Tarball file refers to packaging all the source code of the software with tar and then compressing it. It usually contains the following list of files: 1) source code file 2) test program file (configure or config, etc.) 3) easy description and installation instructions (INSTALL or README)

Basic steps for Tarball installation
< The command execution method of the Tarball installation is as follows: 1 ./congifure As mentioned above, the test program configure is included in the Tarball file to detect the user's operating environment. Execute configure, which will generate MakeFile, which records how the source code is compiled. Details 2 makeclean (optional) Read the clean work in the Makefile, this step does not necessarily have to, but it is recommended to do the following. 3 make When you execute make, make searches for the text file MakeFile in the current directory and compiles the source into an executable file.

4 make install Install the software according to the install option in the Makefile.

Copyright © Windows knowledge All Rights Reserved