On Monday 02 April 2007, [EMAIL PROTECTED] wrote:
> Is there a command to provide me with the package name to which a
> given file belongs ?
> Man equery seems of little help

If you want to know which package installed an existing file, use:

equery belongs <filename>

If you know which file you want to have and would like to know which 
package provides it, well there's no tool for that, the solution would 
be horrific. Instead, you ask here and usually someone who has it 
already will run equery belongs for you :-)

Be aware that not all existing files were installed during an emerge, so 
quite often you get zero results.

alan



-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list

Reply via email to