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 1E702I-0002Q5-UH for garchives@archives.gentoo.org; Mon, 22 Aug 2005 00:19:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7M0Hj0v029587; Mon, 22 Aug 2005 00:17:45 GMT Received: from smtp15.wxs.nl (smtp15.wxs.nl [195.121.6.54]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7M0CQCN012011 for ; Mon, 22 Aug 2005 00:12:26 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by smtp15.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0ILL00GJ5KLQMR@smtp15.wxs.nl> for gentoo-user@lists.gentoo.org; Mon, 22 Aug 2005 02:13:02 +0200 (CEST) Date: Mon, 22 Aug 2005 02:12:59 +0200 From: Holly Bostick Subject: Re: [gentoo-user] Gentoo equivalent to "yum provides" In-reply-to: <43091471.2070803@cpsc.ucalgary.ca> To: gentoo-user@lists.gentoo.org Message-id: <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=ISO-8859-1 Content-transfer-encoding: 7BIT X-Accept-Language: nl-NL, nl, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050803) X-Enigmail-Version: 0.92.0.0 References: <43091471.2070803@cpsc.ucalgary.ca> X-Archives-Salt: 7fdeaa67-c294-4e87-ac6c-ebd3d9a07238 X-Archives-Hash: 3f7beeb63fef5b67d43001d9edf9e910 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) :-) HTH, Holly -- gentoo-user@gentoo.org mailing list