RPM is short for RedHat Package Manager. Although it is called RedHat Package management tool, RPM is used in many linux branch versions. The RPM file-based software installation method is an executable file-based software installation method. The RPM file can be used to install, delete, update, add, and query the software. A Brief Introduction to common RPM parameters:
Rpm-ivh [package name] installation package
Rpm-ivh -- replacepkgs [package name] is forcibly installed, whether or not it has been installed
Run the rpm-q [package name] command to check whether the software package is installed.
Run rpm-qpi [package name] to view the description of the software package.
Rpm-qpl [package name] lists the file information in the software package.
All software packages installed in the rpm-qa Query System
Rpm-qf [file]
Rpm-e [package name] uninstall the Software package
Rpm-e -- nodeps [package name] forcibly deletes a software package and ignores dependencies.
Rpm-I [package name] install the rpm package
You can even use the rpm-I ftp://ftp.pht.com/pub/linux/redhat/MySQL-client-5.1.49-1.glibc23.i386.rpm to download and install the rpm package on the server
Rpm-Uvh [patch package name] upgrade package
Excerpt from: spiritual pure earth column