RPM management
Last modified on July 24, 2026 • 1 min read • 126 wordsExample: The quanta packagerpm -q quanta Check whether and which version of quanta is installedrpm -ql quanta List all files (and their installation location) that are provided by the quanta packagerpm -ivh quanta Install quantarpm -e quanta Erase (deinstall) quantarpm -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 filenameA good manual for rpm managemant:
http://www.rpm.org/max-rpm/.If
you want to query an RPM that is not installed, you need the following syntax:rpm -qpl –requires quanta.rpm This would list all requirements and all files that are in the package.cat package.rpm | rpm2cpio | pax -r Extract a file from an rpm package.
rpm -q quanta Check whether and which version of quanta is installedrpm -ql quanta List all files (and their installation location) that are provided by the quanta packagerpm -ivh quanta Install quantarpm -e quanta Erase (deinstall) quantarpm -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 filenameA good manual for rpm managemant:
http://www.rpm.org/max-rpm/
.If you want to query an RPM that is not installed, you need the following syntax:rpm -qpl --requires quanta.rpm This would list all requirements and all files that are in the package.cat package.rpm | rpm2cpio | pax -r Extract a file from an rpm package.