LinuxCommandLibrary

equery

Portage package information query tool

TLDR

List all installed packages

$ equery list '*'
copy
Search for packages in Portage tree and overlays
$ equery list -po [package1] [package2]
copy
List all packages that depend on a package
$ equery depends [package]
copy
List all packages that a package depends on
$ equery depgraph [package]
copy
List all files installed by a package
$ equery files --tree [package]
copy

SYNOPSIS

equery command [options] [package]

DESCRIPTION

equery is a powerful query tool for viewing information about Portage packages on Gentoo Linux. It provides detailed information about installed packages, their dependencies, owned files, USE flag settings, and more. The tool can search both the local installed package database and the Portage tree including overlays.
As part of the gentoolkit package, equery offers a more user-friendly interface than raw Portage queries, making it easier to investigate package relationships, troubleshoot installation issues, and understand the state of the system. It's an essential tool for Gentoo system administration and package management.

PARAMETERS

list pattern

List packages matching pattern
depends package
Show reverse dependencies
depgraph package
Show dependency graph
files package
List installed files
-p, --portage-tree
Include Portage tree
-o, --overlay-tree
Include overlays
--tree
Display as tree

CAVEATS

Gentoo Linux specific. Part of gentoolkit package. Only queries local database, not remote repositories.

SEE ALSO

emerge(1), eix(1), qlist(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community