HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

portageq — Query for information about Portage, the Gentoo Linux package manager. Queryable Portage-specific en

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandportageqportagecliinformationqueryaboutfor
linux

Problem

How to use the portageq command: Query for information about Portage, the Gentoo Linux package manager. Queryable Portage-specific environment variables are listed in /var/db/repos/gentoo/profiles/info_vars. More information: <https://wiki.gentoo.org/wiki/Portageq>.

Solution

portageq — Query for information about Portage, the Gentoo Linux package manager. Queryable Portage-specific environment variables are listed in /var/db/repos/gentoo/profiles/info_vars. More information: <https://wiki.gentoo.org/wiki/Portageq>.

Display the value of a Portage-specific environment variable:
portageq envvar {{variable}}


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


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


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|...}}

Code Snippets

Display the value of a Portage-specific environment variable

portageq envvar {{variable}}

Display a detailed list of repositories configured with Portage

portageq repos_config /

Display a list of repositories sorted by priority (highest first)

portageq get_repos /

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|...}}

Context

tldr-pages: linux/portageq

Revisions (0)

No revisions yet.