Product SiteDocumentation Site

4.2.11. Other queries

If what you’ve seen so far isn’t enough, the rpm command supports a number of extra queries, mostly of use to developers at Red Hat.
Table 5-7 summarizes these extra queries.
Table 5-7 Extra Queries
Option
Meaning
--dump
Dumps out extra information on files
--fileid md5_id
Queries for the package with the given MD5 digest
--hdrid sha1_header_id
Queries for the package with the given header identifier number, in SHA1 format
--last
Reorders the output of the rpm command to show the most recently-installed packages first
--pkgid md5_id
Queries for the package with the given MD5 package ID
--querybynumber number
Queries for the given entry, by number, in the RPM database
--tid transaction_id
Queries for the package or packages with the given transaction ID