Summary of linux software packages and summary of linux software packages
Linux software package usage Summary
1. Form of software package:
Source code and binary code );
2. Differences and connections
The source code is the code edited by the program language, and the binary code is the code that can be directly recognized by the machine;
The source code must be compiled before it can become a binary code.
3. Two types of rpm packages: Binary rpm and source code rpm
Commonly used is the Binary Package. After downloading the package, run rpm-ivh to install and use it. The installation process is very fast (the actual process is actually the cp binary package to the corresponding directory );
Source code rpm: the rpm of the srpm class, which contains the source code files during compilation and some specified parameter files for compilation. It must be re-compiled during use.
4. Differences between rpm packages and source code packages
Rpm Binary packages generally contain: version number, platform used, and applicable hardware;
Source package: usually only a tar package with a version number
For example, mysql, mysql-advanced-5.6.14-linux-glibc2.5-x86_64.tar.gz