Peter J. Stieber wrote:
> I found this by looking through
>
> http://mirrors.kernel.org/fedora/releases/9/Everything/i386/os/repoview/
>
> There has to be a better way to find what package a particular program  
> is any.  I'm sure I'm missing something.  What is the preferred 
> technique?

I'd suggest repoquery or "yum whatprovides" e.g.:

$ repoquery --whatprovides '*/fsck.xfs'
xfsprogs-0:2.9.7-1.fc9.i386

or

$ yum whatprovides '*/fsck.xfs'
...
xfsprogs-2.9.7-1.fc9.i386 : Utilities for managing the XFS filesystem
Matched from:
Filename    : /sbin/fsck.xfs

The presence of the '/' in the query string lets yum and repoquery
know to look in file lists for packages that provide a match.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is no end to the laws, and no beginning to the execution of
them. 
    -- Mark Twain

Attachment: pgpObgI7foPnm.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to