A package will probably install packages in more than one place. Such as a binary in /usr/bin; a library in /usr/lib; notes in /usr/share/doc/packages/<package-name>.
The rpm command: rpm -ql <package-name>
will list the files that a package supplied.
If you know part of the name of a package, then pipe the output to grep, for example:
rpm -qa | grep office
If you know an associated file that a package supplied, you can find which package supplied the file:
rpm -qf /etc/openct.conf
Last edited by jschiwal; 02-24-2007 at 03:40 AM.
Reason: added grep info.