1.linux Package Management API Application Interface ABI Application Binary Interface 2. Library executable program, this is not a program to execute the portal, but can be called in the compiled binary format 3. Program precompiled compilation link static dynamic DLL So (Shard object) 4. Package Components binary Program/bin/sbin/usr/bin/usr/sbin/usr/local/bin/usr/local/sbin Library/lib/lib64/us r/lib/usr/lib64/usr/local/lib/usr/local/lib64 config file/etc Help file man info reademe INSTALL changlog man COMMAND to A path looks for the name of a compressed file with the same command name usually ending in. gz/usr/share/man
5. Application Manager
Maintain database: Provide functional description, software name and version, dependency (environment dependent, version dependent), install generated file path and checksum code
Provides data composition format: File list, program script to run when installing uninstall
6. Basic features of Package Manager
Package, install, query, upgrade, uninstall, check, database query
7. Front-end Manager
Apt-get
Yum
8. How to install the application
Using the Package Manager
Package Manager's front-end tools
Source code Compilation
Simple packaged binary format
Use of 9.rpm Packages
RPM Package Command format
SOURCE program: Name-version.tar. {Gz|bz2|sz}
Version:major,minor,release
RPM Package name-version-release-.arch.rpm
Release: usually contains the RPM production release number and also includes the applicable OS
eg:bash-4.3.2-2.el6.x86_64.rpm
El6:redhat Enterprise linux6
X86_64:arch
10. Subcontracting: Packaging A large program into multiple packages
eg:bash-4.3.2-2.el6.x86_64.rpm
bash-hell0-4.3.2.el6.x86_64.rpm
bash-world-4.3.2.exl6.x86_64.rpm
Linux Fundamentals 19