HELP (RPM - what package a file is from)

Ralf Corsepius rc040203 at freenet.de
Thu Nov 27 05:10:50 UTC 2008


On Wed, 2008-11-26 at 22:00 -0700, Reg Clemens wrote:
> I posted this question several hours ago, but it has never shown up on 
> the list,- here we go again...
> 
> How do I find out what RPM package a given file is from?

rpm -qf <file>

> I know I knew how to do this at one time, but Ive reread the RPM
> MAN page 3 times and I cant find the right magic.

Look again ;)

> In particular, I would like to know what package
> 
> 	/usr/bin/htmlview

rpm -qf /usr/bin/htmlview

will tell you.

Ralf






More information about the fedora-list mailing list