How to know which RPM has a file?

Gerald Combs gerald at ethereal.com
Sun Oct 20 13:10:04 CDT 2002


On 20 Oct 2002, Chris Hoelscher wrote:

> I know how to tell what files are in an RPM package, but when I try
> loading Opera RPM on my RH 7.3, it complains that libXm.so is needed. 
> How can I determine what RPM provides that?  I've gone to RPMFIND and
> such and searching for 'libXm' provides a number of 'libxml-etc'
> pacakges, but trying a couple of them does not seem to satisfy.
> 
> Any ideas?  Tricks?

    rpm -qf /path/to/file




More information about the Kclug mailing list