Gentoo Archives: gentoo-user

From: Rennie deGraaf <degraaf@×××××××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Gentoo equivalent to "yum provides"
Date: Sun, 21 Aug 2005 23:59:48
Message-Id: 43091471.2070803@cpsc.ucalgary.ca
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 What command does one use to find what package(s) provide a particular
5 file, given that that particular file is not present on my system? For
6 example, I need a program called "foobar", but don't know what package
7 provides it. Under Fedora, I'd use "yum provides foobar"; what command
8 should I use under Gentoo?
9
10 Something like "esearch foobar" searches package titles, not contents.
11 So, if I was searching for "vi", I'd get all sorts of stuff that has
12 nothing to do with the editor "vi", but happens to have the substring
13 "vi" in its name. And if I was searching for "libfoobar.so", then I
14 might not find any matches, since that file might be in a package called
15 "foobar". In other words, "esearch foobar" doesn't do what I want.
16
17 Thanks,
18
19 Rennie
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v1.2.6 (GNU/Linux)
22
23 iD8DBQFDCRRxIvU5mZP08HERAoINAJsEepjSgBbeVyB+YRLr0A1VNh9qjACg2ROR
24 VaVZ1b2wCKuwKTOwuNjNmiM=
25 =lEJD
26 -----END PGP SIGNATURE-----
27 --
28 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Gentoo equivalent to "yum provides" Holly Bostick <motub@××××××.nl>
Re: [gentoo-user] Gentoo equivalent to "yum provides" "Brett I. Holcomb" <brettholcomb@×××××××××.net>