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

David Hoffman dhoffman2004 at gmail.com
Mon Jan 31 15:58:24 UTC 2005


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


-- 


David
-----------------------------------------------------------------------
There are only 10 kinds of people in this world,
those who understand binary, and those who don't.




More information about the fedora-list mailing list