yum whatprovides ??

Andras Simon szajmi at gmail.com
Sat Jun 30 21:05:30 UTC 2007


On 6/30/07, Aaron Konstam <akonstam at sbcglobal.net> wrote:
> On Sat, 2007-06-30 at 13:46 -0700, Ed Landaveri wrote:
> > Jeff,
> > You must supply the path to the command to succeed:
> > yum whatprovides /usr/lib/bcc/include/stddef.h
> > -----
> > dev86-0.16.17-2.2
> > -----
> >
> If that was true there wold be no need for whatprovides. The output you
> indicate could be gotten from:
> rpm -qf /usr/lib/bcc/include/stddef.h

If you have the package installed. The purpose of yum whatprovides is
that you know what package to install to get a certain file.

Andras




More information about the fedora-list mailing list