#rpm工具是redhat Package Manger
tree-1.5.3-2.el6.i686.rpm
Tree Package Name
1.5.3 Version number 1 is the major version number, 5 is the minor version number, 3 is the revision number
EL6 system platform, Red Hat Enterprise Edition 6
i686 32-bit
Noarch does not differentiate between 32-bit or 64-bit
#安装rpm包
RPM-IVH zip-3.0.1.el6.i686.rpm
I is the install
V is the view
H is the ability to view progress
#不需要关注依赖关系安装--nodeps. has been installed once, and then forced to install once with force
RPM-IVH--nodeps yt-tools-2.9-12.el6.i686.rpm
RPM-IVH--force yt-tools-2.9-12.el6.i686.rpm
#升级rpm包用-U
RPM-UVH yt-tools-2.9-12.el6.i686.rpm
#删除rpm包用-E
Rpm-e yt-tools-2.9-12.el6.i686.rpm
Exercises:
1. RPM Package aaa-1.3.4.i686.rpm, the explanation about it is correct?
AAA for Package Name
1.3.4 for version information
i686 is the platform information, says it is 32 bit
Major version number is 1, minor version number is 3, modified version
2. Install and uninstall RPM Package aaa-1.3.4.i686.rpm the command is correct?
RPM-IVH AAA-1.3.4.I686.RPM installation Package
RPM-E AAA Offload Package
Summarize:
Main: RPM Package-IVH Install-u upgrade-e Uninstall
Minor: RPM package--nodeps does not need to focus on dependencies--force Force installation
2.2 RPM Installation and uninstallation