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

James Mckenzie jjmckenzie51 at earthlink.net
Mon Jan 31 16:03:30 UTC 2005


-----Original Message-----
From: David Hoffman <dhoffman2004 at gmail.com>
Sent: Jan 31, 2005 8:58 AM
To: For users of Fedora Core releases <fedora-list at redhat.com>
Subject: Re: How can i find out, what files a RPM is provding?

On Mon, 31 Jan 2005 12:33:45 +0000, Paul Howarth <paul at city-fan.org> wrote:
> 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`
> 

What about:
rpm -q --whatprovides Tar.pm

-----James' Reply-----

Don't you have to install an additional .rpm to get this functionality?  I had to, just in case the .rpm was not installed on my system.  Details are in the archive on installation of the appropriate files.

--



James McKenzie
A Proud User of Linux!




More information about the users mailing list