Nick Rout schreef: > neither equery nor any other program can predict what will be installed > in a package, because that varies with architecture and USE flags. > > So there is no direct equivalent.
You're right; I forgot that equery and its equivalents work by default on installed packages (although sometimes that's what you need, so it's still good to know). I don't know how 'pkgspec' works either (though I've never looked into it, so that's no surprise), so even though it does suggest that you could search the Portage tree of not-installed packages to see what PacKaGe SPECifies a particular file, I don't know how precisely to use equery to do so. > > You either have to work it out for yuorself, ggogle or ask here. I find it most useful to go to the Debian package search tool ( http://www.debian.org/distrib/packages -- "search the contents of packages") on the (extremely) rare occasion that I need to know what (not currently installed) package provides a particular file or library. The package names are often not quite the same, but usually close enough that you can find the correct package on packages.gentoo.org. Putting the exact filename into Google works too; you'll get a whole list of where one or two similarly-named rpm's, deb files and slack packages are located, and then you most likely know the name of the application you want to search on packages.gentoo.org. Holly -- gentoo-user@gentoo.org mailing list