1.RPM Installation
RPM-IVH package_name
The meaning of-i:install
-V: View more detailed installation information
-H: Displays the installation progress in the installation Information Bar
RPM-IVH package_name--test
2.rpm Query
Rpm-qa | grep ^c | Wc-l
Re-install
RPM-IVH httpd.rpm--replacepkgs
3. Delete
#rpm-E PackageName
"-e" means to delete (erase) means to delete a particular package (PackageName).
It is important to note that the RPM management mechanism does not allow you to delete a package if it is also dependent on other packages. Because once you delete this package, other packages that rely on him to run will not work properly.
4. Upgrade
#rpm-UVH package.ix86.rpm
The "-u" parameter means upgrade (upgrade), and the meaning of the parameter "V" and "H" is the same as before, which is not mentioned here.
Yum
Yum [List|info|search|provides|whatprovides] Parameter
#yum List | grep MySQL
#rpm-qi Mysql-community-server
Linux RPM Installation