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

David Hoffman dhoffman2004 at gmail.com
Mon Jan 31 21:02:56 UTC 2005


On Mon, 31 Jan 2005 10:34:16 -0700 (GMT-07:00), James Mckenzie
<jjmckenzie51 at earthlink.net> wrote:
> David:
> 
> Try this and see if it works:
> 
> rpm -q --redhatprovides <file name>
> 
> I think this requires downloading and installing the redhatdb.rpm (cannot remember exactly what the file name is).  This populates a flat database with file names and their associated Red Hat package name that provides the file.  I had to 

James,

See the note earlier from Paul Howarth regarding this. There is a
difference between redhatprovides and whatprovides. With whatprovides,
it gets the information from the known packages that have been
installed on the system, and does not require the database file.

David




More information about the fedora-list mailing list