2007/4/2, Alan McKinnon <[EMAIL PROTECTED]>:
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 :-)

I use this database :
http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl

HTH.

Boris


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




--
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2 \
aX5aX8axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4 \
ax3aX4aXaX12ax10aaX7a").join'
--
gentoo-user@gentoo.org mailing list

Reply via email to