where did a package come from?
Robert P. J. Day
rpjday at mindspring.com
Fri Jan 12 09:05:54 UTC 2007
On Fri, 12 Jan 2007, Steve Searle wrote:
> Around 08:48am on Friday, January 12, 2007 (UK time), Robert P. J. Day scrawled:
>
> > On Fri, 12 Jan 2007, Ed Greshko wrote:
> >
> > > Robert P. J. Day wrote:
> > > > i *know* i've seen (and probably even asked about) this before, but
> > > > how can i see from which repo an installed package came from? thanks.
> > >
> > > rpm -qi
> >
> > i don't think so. for instance, i know mercurial is in the FC
> > "extras" repo, but there's nothing in
> >
> > $ rpm -qi mercurial
> >
> > that tells me that.
>
> yum whatprovides mercurial
>
> mercurial.i386 0.9.1-2.fc6 extras
>
> you may need to provide the name of a file associated witht the
> package, i usually use the binary.
ah, that's it. and the package name should be fine since, in your
very example, there *is* no "mercurial" executable. the actual name
is "hg".
rday
More information about the fedora-list
mailing list