Product SiteDocumentation Site

4.2.5. Listing the documentation files for a package

Similarly to the –c option, the –d option tells the rpm –q command to list just the documentation files for a package. The basic syntax is:
rpm –qd package_name
For example:
rpm -qd tcsh

Getting more information

You can add the –v option to all of the file-listing options to get more information.
You can also use the longer option, --docfiles, in place of –d.