yum whatprovides ??

Aaron Konstam akonstam at sbcglobal.net
Sun Jul 1 13:28:05 UTC 2007


On Sat, 2007-06-30 at 23:05 +0200, Andras Simon wrote:
> 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
> 
I was being too obscure. If stdef.h was not installed you would not know
that it should be installed in usr/lib/bcc/include/stddef.h
--
=======================================================================
Honesty is the best policy, but insanity is a better defense.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list