rpm -q ( or
--query) options |
Package Selection Options |
Page |
pkg1 ... pkgN |
Query installed package(s) |
|
-p <file>(or ``-'') |
Query package file
<file> (URLs OK) |
|
-f <file> |
Query package owning <file> |
|
-a |
Query all installed packages |
|
--whatprovides <x> |
Query packages providing capability
<x> |
|
-g <group> |
Query packages belonging to group
<group> |
|
--whatrequires <x> |
Query packages requiring capability
<x> |
|
Information Selection Options |
Page |
<null> |
Display full package label |
|
-i |
Display summary package information |
|
-l |
Display list of files in package |
|
-c |
Display list of configuration files |
|
-d |
Display list of documentation files |
|
-s |
Display list of files in package, with state |
|
--scripts |
Display install, uninstall, verify scripts |
|
--queryformat (or --qf) |
Display queried data in
custom format |
|
--dump |
Display all verifiable information for each file |
|
--provides |
Display capabilities package provides |
|
--requires (or -R) |
Display capabilities package requires |
|
General Options |
Page |
-v |
Display additional information |
|
-vv |
Display debugging information |
|
--root <path> |
Set alternate root to
<path> |
|
--rcfile <rcfile> |
Set alternate rpmrc file to
<rcfile> |
|
--dbpath <path> |
Use <path> to find the
RPM database |
|