Linux software installation, source code and Tarball learning summary

1. Most of the source code is a plain text file. It is necessary to compile the program to create an executable binary file that can be recognized by the Linux system.

2. Open source can speed up software updates, make software performance faster, and make bug fixes more real-time

3. In the Linux system, the most standard C language compiler is gcc

4. During the compilation process, the relevant mechanisms and functions of the software can be used through the function libraries provided by other software.

5. In order to simplify the complex command input in the compilation process, the update, compilation and linking of programs can be simplified through the definition of make and makefile rules.

6. Tarball is a file with source code that is packaged and compressed using tar and gzip/bzip2 compression functions

7. Generally speaking, to use Tarball to manage the software on the Linux system, it is best to need software such as gcc, make, autoconfig, kernelsource, kernel header, etc., so at the beginning of installing Linux, it is best to choose Software development and kernel development groups such as

8. The function library is divided into dynamic function library and static function library. The dynamic function library has better advantages in upgrading. The extension of the dynamic function library is *.so, while the static function library is *.a

9. The main function of patch is to update the source code, so after updating the source code, you need to recompile

10. You can use ldconfig and /etc/ld.so.conf to make the link and cache of the dynamic function library

11. Through the MD5 encoding, it can be judged whether the downloaded file is the file released by the original manufacturer.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326608463&siteId=291194637