How can i find out, what files a RPM is provding?

Paul Howarth paul at city-fan.org
Mon Jan 31 12:33:45 UTC 2005


Roger Grosswiler wrote:
> i want to check, whether i have Tar.pm installed on my system. This must 
> have been happened via yum - so rpm.
> 
> yum provides is extremly slow on this machine, so i would like to check 
> this with rpm. So how can i find out, whick rpm-package is providing Tar 
> .pm?

Assuming Tar.pm is properly installed in your perl module tree:

$ rpm -qf `find /usr/lib/perl5 -name Tar.pm -print`

Paul.




More information about the fedora-list mailing list