|rpm -U *.rpm||Install or update some rpm packages.
|rpm -e package-name||Delete an installed rpm package.|
|rpm --import gpg-key-file||You must import the GPG key for any digitally
signed package you wish to verify.
These keys can beinported from files or from the Internet.
|rpm -q package-name||Provides the full name for an installed package (which includes a version number).|
|rpm -qa||List all installed RPM packages.
rpm -qa |grep -i kernel | sort rpm -qa --last | head
|rpm -qc package-name||Lists the configuration files from a package.|
|rpm -qf pathname||Tells you which package some file belongs to.|
|rpm -qi package-name||Shows general package description and other information.|
|rpm -ql package-name||Lists files in a package.|