First, Package installation introduction
- Package classification
- SOURCE Package
- Script installation Package
- Binary package (RPM package, system default package)
- SOURCE Package
- SOURCE Package Benefits
- Open source, and if you have enough power, you can modify it yourself.
- You have the freedom to choose the features you want
- Software is compiled and installed, so more suitable for your system, more stable, more efficient
- Easy to uninstall
- SOURCE Package Disadvantages
- There are many steps in the installation process, especially when installing large software collections (such as lamp environment), prone to spelling mistakes
- Longer compilation time, longer installation time than binary installation
- Because it is a compilation installation, the installation process once the error, novice difficult to solve
- RPM Package
- Binary Package Advantages
- Package management system is simple, with only a few commands to implement package installation/upgrade/query and Uninstall
- Installation speed is much faster than the source package installation
- Binary Package Disadvantages
- The source code can no longer be seen after compiling
- Feature selection is not as flexible as source package
- Dependence
- Script installation Package
- The so-called script installation package, that is, the complex package installation process as a program script, beginners can execute a script, implementation of one-click installation. But the actual installation is the source package and the binary package.
- Advantages: Easy and quick installation
- Cons: Total loss of customization
Second, RPM command management
1) RPM Package naming rules
(a) The source of the RPM package
RPM package on the system CD
(ii) RPM package naming rules
httpd-2.2.15-15.e16.centos.1.i686.rpm
--HTTPD, Package name
--2.2.15, software version
--15, number of software releases
--e16.centos, the right Linux platform
--i686, the right hardware platform
--RPM,RPM Package Extension
(iii) RPM package dependency
- Tree-dependent: a→b→c
- Ring-dependent: a→b→c→a (workaround: Put a,b,c three install packages in one command)
- Module dependency: Details query URL: www.rpmfind.net (. so.2 end, library file dependent)
2) Installation command
3) Upgrade and Uninstall
4) RPM Package query
5) RPM Package Check
Third, Yum Online management
Iv. Source Package Management
V. Script installation Package
Linux----Software Installation management (MU network notes)