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
koffice-i18n-ru-1.6.1-37.2
koffice-illustration-1.6.1-19.1
koffice-devel-1.6.1-19.1
goffice-0.2.1-24
koffice-i18n-ru-doc-1.6.1-37.2
koffice-1.6.1-19.1
goffice-devel-0.2.1-24
If you know an associated file that a package supplied, you can find which package supplied the file:
rpm -qf /etc/openct.conf
openct-0.6.9-18
Last edited by jschiwal; 02-24-2007 at 02:40 AM.
Reason: added grep info.
|