Hi,
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?
Thanks a lot Roger
On Mon, 2005-01-31 at 13:08 +0100, Roger Grosswiler wrote:
Hi,
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?
rpm -qf $(which tar)
Thanks a lot Roger
On Mon, 31 Jan 2005 13:16:05 +0100, Joachim Backes backes@rhrk.uni-kl.de wrote:
On Mon, 2005-01-31 at 13:08 +0100, Roger Grosswiler wrote:
Hi,
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?
rpm -qf $(which tar)
Actually, as he wanted to find the owner of Tar.pm, rather than tar itself...
rpm -qf $(locate Tar.pm)
Dave...
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.
Paul Howarth schrieb:
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.
Thanks to all, i found it out Roger
On Mon, 31 Jan 2005 12:33:45 +0000, Paul Howarth paul@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
On Monday 31 January 2005 09:58, David Hoffman wrote:
What about: rpm -q --whatprovides Tar.pm
You must either provide the full pathname to Tar.pm or substitute a command that will provide the full pathname for this to work:
rpm -q --whatprovides Tar.pm no package provides Tar.pm
rpm -q --whatprovides /usr/lib/perl5/..../Tar.pm perl-Archive-Tar-1.08-3
rpm -q --whatprovides `locate Tar.pm` perl-Archive-Tar-1.08-3
Regards, Mike Klinke
Roger Grosswiler wrote:
Hi,
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?
Thanks a lot Roger
If you want to list the contents of a package, jus do:
rpm -qpl Tar.rpm