RPM Quickref

list all installed packages:

rpm -qa

show package info

rpm -qi <package>

the same but for an uninstalled packagefile

rpm -qpi <package.rpm>

list files in package

rpm -ql <package>

install package

rpm -ivh <package.rpm>

delete package

rpm -e <package>

Adding –test will do a dryrun and only check for (dependency) errors

list requirements for installing/using package

rpm -q <package> --requires