Re: HELP (RPM - what package a file is from)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux