From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E726v-0002Gq-JI for garchives@archives.gentoo.org; Mon, 22 Aug 2005 02:32:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7M2UxkT010839; Mon, 22 Aug 2005 02:30:59 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7M2RNv7021391 for ; Mon, 22 Aug 2005 02:27:24 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E722a-0005OC-6e for gentoo-user@lists.gentoo.org; Mon, 22 Aug 2005 02:28:00 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E721S-00086f-DS for gentoo-user@gentoo.org; Mon, 22 Aug 2005 04:26:50 +0200 Received: from adsl-68-75-35-6.dsl.emhril.ameritech.net ([68.75.35.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2005 04:26:50 +0200 Received: from reader by adsl-68-75-35-6.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2005 04:26:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: Gentoo equivalent to "yum provides" Date: Sun, 21 Aug 2005 21:26:12 -0500 Organization: Still searching... Message-ID: <87fyt2btbv.fsf@newsguy.com> References: <43091471.2070803@cpsc.ucalgary.ca> <4309188B.40901@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-75-35-6.dsl.emhril.ameritech.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:4VqDVZuP0p7wvTjqpTA6BY1k9A8= Sender: news X-Archives-Salt: ce32243e-4128-4b0f-91b5-611028469afe X-Archives-Hash: 1615f2699743f388edf1804852634513 Holly Bostick writes: > Rennie deGraaf schreef: >> What command does one use to find what package(s) provide a particular >> file, given that that particular file is not present on my system? For >> example, I need a program called "foobar", but don't know what package >> provides it. Under Fedora, I'd use "yum provides foobar"; what command >> should I use under Gentoo? >> >> Something like "esearch foobar" searches package titles, not contents. >> So, if I was searching for "vi", I'd get all sorts of stuff that has >> nothing to do with the editor "vi", but happens to have the substring >> "vi" in its name. And if I was searching for "libfoobar.so", then I >> might not find any matches, since that file might be in a package called >> "foobar". In other words, "esearch foobar" doesn't do what I want. >> >> Thanks, >> >> Rennie > > > equery belongs equery > [ Searching for file(s) equery in *... ] > app-portage/gentoolkit-0.2.1_pre5 (/usr/bin/equery) > app-portage/gentoolkit-0.2.1_pre5 > (/usr/share/doc/gentoolkit-0.2.1_pre5/equery) This is new to me... thanks Holly "W.Kenworthy" writes: > man equery doesnt specifically say, but I suspect that along with other > tools that do this like qpkg, they only work on the installed packages. > I dont think gentoo can do this for packages not installed on the > system. I usually end up googling ... One piece of man page may indicate otherwise: list pkgspec This command lists packages matching pkgspec in a user-specified combination of installed packages, packages which are not installed, the portage tree, and the portage overlay tree. must include not include only -I; if -I is used, -p and/or -o must be also. By default, only installed packages are searched. -o searches only the overlay tree [and possibly installed packages], not the main portage tree. -i, --installed search installed packages (default) -I, --exclude-installed do not search installed packages -p, --portage-tree also search in portage tree (/usr/portage) -o, --overlay-tree also search in overlay tree (/usr/local/portage) However, I couldn't piece together what `pkgspec' might mean. Can anyone here show some example commands using above with pkgspec explained a bit more? -- gentoo-user@gentoo.org mailing list