Occasionally I need to see exactly what files are part of an installed package. On a fedora system, one easy way to do this is to use repoquery, which is part of yum-utils.
If you don’t have repoquery you’ll need to install it first:
% yum install yum-utils
Then you can run it like so:
% repoquery --list *package*
repoquery writes the list of files for the specified package to standard output. For example, to see the files installed by the nmh package, use:
% repoquery --list nmh /etc/nmh /etc/nmh/MailAliases /etc/nmh/components /etc/nmh/digestcomps /etc/nmh/distcomps ...
No comments:
Post a Comment