Package for a File
Published on 23 Feb 2004Tags #gentoo
The commands presented below attempt to find an installed package which is responsible for merging the desired file. etcat and qpkg are superceded by equery as of portage-2.0.50 and gentoolkit-0.2.
- Global search in all installed package:
equery belongs FILE - Limited search in installed package:
equery belongs -c CATEGORY FILE - Search for first match:
equery belongs -e FILE
NOTE: For systems with <portage-2.0.50 and <gentoolkit-0.2 use: etcat belongs FILE [CATEGORY] (specifying CATEGORY will limit and, therefore, speed up the search.)