RPM management
By jeltsch on Thu, 05/24/2007 - 21:11Example: The quanta package
rpm -q quanta
Check whether and which version of quanta is installed
rpm -ql quanta
List all files (and their installation location) that are provided by the quanta package
rpm -ivh quanta
Install quanta
rpm -e quanta
Erase (deinstall) quanta
rpm -aq | grep quanta
If you don't know exactly what you are looking for you can list all packages and grep them with a substring.
rpm -q -f filename
Search for rpm packages that provide filename