LinuxCommandLibrary

portageq

Query for information about Portage, the Gentoo Linux package manager.

TLDR

Display the value of a Portage-specific environment variable

$ portageq envvar [variable]
copy


Display a detailed list of repositories configured with Portage
$ portageq repos_config /
copy


Display a list of repositories sorted by priority (highest first)
$ portageq get_repos /
copy


Display a specific piece of metadata about an atom (i.e. package name including the version)
$ portageq metadata / [ebuild|porttree|binary|...] [category]/[package] [BDEPEND|DEFINED_PHASES|DEPEND|...]
copy

Copied to clipboard