[PLUG] Red Hat ? How to find a file on a CDROM

MJang mike at mommabears.com
Wed Feb 2 15:30:45 UTC 2005


On Tue, 2005-02-01 at 10:20 -0800, Rich Shepard wrote:
> On Tue, 1 Feb 2005, Norm Coder wrote:
> 
> > I have been asked to install a couple program from the Red Hat WS3 CDROM.
> > When I ran a find -name 'tcl-devel*' on each CD and came up with nothing.

> Norm,
> 
>     I'm no longer running Red Hat here so I don't have 'man rpm'. But, the
> syntax is something like
>   	rpm -q --what provides <file_name>

Actually, the syntax in Red Hat Enterprise Linux is specific to the
distro:

rpm --redhatprovides /path/to/filename

It requires that you have the rpmdb-redhat RPM installed. Wildcards are
possible if you have the right path. 

Thanks,
Mike




More information about the PLUG mailing list