# To install a package: rpm -ivh # To remove a package: rpm -e # To remove a package, but not its dependencies rpm -e --nodeps # To find what package installs a file: rpm -qf # To find what files are installed by a package: rpm -ql rpm -qpl # To find what packages require a package or file: rpm -q --whatrequires rpm -q --whatrequires # To list all installed packages: rpm -qa # To find a pkg's dependencies rpm -i --test # Display checksum against source rpm -K # Verify a package rpm -V