LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Alex Garner <alex@netcraft.com.au>
  To  : Richard Sharpe <sharpe@ns.aus.com>
  Date: Mon, 24 Jan 100 10:39:44 +1030 (CST)

Re: Identd

> Here is the trick I use to find which RPM something is in when the RPM is
> not installed:
> 
> cd /mnt/cdrom/$dirsto/RPMS
> for f in *.rpm
> do
>    if [ "`rpm -qlp $f | grep my-prog`" != "" ]; then echo $f; fi
> done

another way is to have the filelist on hand, ie... from your RPMS
directory on your redhat cd, type this..

rpm -qilp *.rpm > ~/rpmlist.txt then you can browse your rpmlist file
to locate files.

-q    is a query
-i    shows package information
-l    list all files in package
-p *.rpm    means work on a uninstalled packages *.rpm

Cheers

Alex!


-- 

Alex Garner <alex@netcraft.com.au>

NetCraft Australia
Phone (08) 8370 3650
http://www.netcraft.com.au

...I should have taken the blue pill.


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page