On Thursday 27 November 2008 05:10:50 Ralf Corsepius wrote: > 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 One of the truly maddening things is the way differences occur in supposedly related distros. Take a look at rpm options. Some time back I was told 'Just type "rpm" and you'll see the options. 'rpm --whatprovides packagename' is the obvious choice - but it doesn't tell you what you need to know. Try 'rpm --provides' - that used to work in fedora, but it doesn't now. What about 'rpm --redhatprovides' - that works in mandriva but not in fedora - or does it? All I've seen in my experiments is 'no package provides packagename' but that could be because they are stand- alone packages. How is anyone supposed to find their way through this maze? Anne
Description: This is a digitally signed message part.