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 1E72eS-0001Kf-8L for garchives@archives.gentoo.org; Mon, 22 Aug 2005 03:07:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7M34FEL017349; Mon, 22 Aug 2005 03:04:15 GMT Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7M2urCZ019190 for ; Mon, 22 Aug 2005 02:56:54 GMT Received: from ibm66aec.bellsouth.net ([65.4.174.245]) by imf23aec.mail.bellsouth.net with ESMTP id <20050822025730.SOHV4594.imf23aec.mail.bellsouth.net@ibm66aec.bellsouth.net> for ; Sun, 21 Aug 2005 22:57:30 -0400 Received: from gandalf ([65.4.174.245]) by ibm66aec.bellsouth.net with ESMTP id <20050822025730.UBXQ3975.ibm66aec.bellsouth.net@gandalf> for ; Sun, 21 Aug 2005 22:57:30 -0400 Date: Sun, 21 Aug 2005 22:57:29 -0400 (EDT) From: "Brett I. Holcomb" X-X-Sender: brett@gandalf To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo equivalent to "yum provides" In-Reply-To: <43091471.2070803@cpsc.ucalgary.ca> Message-ID: References: <43091471.2070803@cpsc.ucalgary.ca> X-Message-Flag: Worried about bugs & viruses? Switch to Mac/Unix/PC Pine! Info @ www.ii.com 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; format=flowed X-Archives-Salt: 1dc2d609-f9c7-439d-a60d-d7545ab95b8c X-Archives-Hash: 279c70a6762f21d9833ef010046f90ce Try equery. On Sun, 21 Aug 2005, Rennie deGraaf wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFDCRRxIvU5mZP08HERAoINAJsEepjSgBbeVyB+YRLr0A1VNh9qjACg2ROR > VaVZ1b2wCKuwKTOwuNjNmiM= > =lEJD > -----END PGP SIGNATURE----- > -- Brett I. Holcomb brettholcomb@R777bellsouth.net Registered Linux User #188143 Remove R777 to email -- gentoo-user@gentoo.org mailing list