1. Unzip:
The software package with the tar.gz extension under Linux is a package that is packaged with a tar program and compressed with the GZIP program. To install this package, the package needs to be decompressed, the package can be decompressed using "TAR-ZXFV filename.tar.gz" , and the extracted files are in a directory named filename. Into the directory, you can see the extracted files.
2. Installation:
After the extract command is executed, there is a "Install" file in the file that is usually produced after decompression. This file is a plain text file, detailing how the package is installed. An executable script named Configure that was produced after the decompression was performed. It is used to check whether the system has a library that is required for compilation, and whether the version of the library meets the required system information for installation such as compilation. Prepare for the subsequent compilation work. The command is:#./configure. After the check passes, the Makefile file is generated for compilation. At this point, you can start compiling. The process of compiling depends on the size of the software and the performance of the computer, and the time spent is different. The command is:#make.
After successful compilation, type the following command to start the installation:#make Install
After installation, you should clear the temporary files generated during compilation and the files generated during the configuration process. Type the following command:
#make Clean
#make Distclean
In Linux, unzip and install the. tar.gz suffix file