On Tue, Nov 17, 2026 at 9:39 PM Eli Schwartz <esch…@gentoo.org> wrote:
> > On 11/17/26 7:12 PM, Pocket wrote: >
> > I then started to research that and I came to the conclusion that I > > don't know what I am doing and I need to list all the installed > > packages. I searched on how to do that and I didn't find a way that I > > could do so. > > > > How do you list the currently installed packages/emerged ebuilds? > > > > How can you list the files in a particular installed ebuild? > > > > This will give me a path on how to resolve this issue (maybe I already > > have the linux headers installed and there is not anything to resolve).
> > > There are two helpful packages here: > > app-portage/gentoolkit provides the "equery" command. > > app-portage/portage-utils provides the various "q*" commands: > - qlist > - qfile > > > To list files in a particular installed ebuild, you can use "equery > files XXX" or "qlist XXX" > > To list all installed packages, there is "equery list" or "qlist > --installed". > > To list which package owns a file, there is "equery belongs > /path/to/file" or "qfile /path/to/file". > > Both portage-utils and gentoolkit have various other nifty commands you > may find useful as well, so I would definitely encourage you to check > them out. > > -- > Eli Schwartz
There is also "e-file" from app-portage/pfl :)
-- D. Ben Knoble