RPM is the recursive acronym for RPM Package Manager: it is the default low level package manager in some of the most famous and most used Linux distributions, such as Fedora, Red Hat Enterprise Linux, CentOS, OpenSUSE and their derivatives. The software, as you can expect, is free and open source; when invoked with the -q
option it can be used to query packages to retrieve specific information, such as dependencies, recommendations, files etc. In this tutorial we learn how to perform such queries.
In this tutorial you will learn:
- How to run rpm in “query” mode
- How to obtain general information about a package
- How to read a package changelog
- How to list the files provided by a package
- How to list the scripts used by a package
- How to list a package dependencies and recommendations
- How to list packages rendered obsolete by an rpm