1.rpm parameters
Installation-related parameters -i: Installation -h: Show Progress -v: Show detailed procedures    -VV: More detailed procedure example:rpm -ivh package name query-related parameters Description: Query whether the specified package installs commands:rpm -q package name Description: Query all packages commands that have been installed:rpm -qa description: Query description information for a specified package command:rpm -qi package name description : Query the list of files generated after the installation of the specified package command:rpm -ql package name Description: Query the configuration file for the specified package installation command:rpm -qc package name Description: Query the Help file for the specified package installation command:rpm -qd package name Description: Query the scripts included in the specified package commands:rpm -q --scripts package name Description: Query the specified file is by which RPM package installation generated command:rpm -qf file name example : Rpm -qf /usr/java/jdk1.7.0_79/src.zip
This article is from the "Yan" blog, please be sure to keep this source http://suyanzhu.blog.51cto.com/8050189/1942965
Linux installation software-rpm command parsing