Rpm command

Red Hat Package Manager.

Options

 * -i : install a package
 * -v : verbose
 * -h : print hash marks as the package archive is unpacked.
 * -q : query operation
 * -a : queries all installed packages
 * -f : file name
 * -d : refers documentation.
 * -i : view information about an rpm
 * -p : specify a package name
 * -l : list the files in the package

Examples
Install and uninstall rpm -ivh MySQL-client-3.23.57-1.i386.rpm rpm -ev MySQL-client Query all the installed RPM Packages rpm -qa Query a Particular installed RPM Package rpm -q MySQL-client Information about Installed RPM Package rpm -qi MySQL-client Which RPM package does a file belong to rpm -qf /usr/bin/mysqlaccess Show information of a RPM file before installing rpm -qip MySQL-client-3.23.57-1.i386.rpm List all the Files in a Package rpm -qlp ovpc-2.1.10.rpm List the Dependency Packages rpm -qRp MySQL-client-3.23.57-1.i386.rpm Upgrading a RPM Package (and uninstall old version) rpm -Uvh MySQL-client-3.23.57-1.i386.rpm