From 4b60f16eaebab3cd4bc85f265c4ec870706b105e Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Fri, 28 Jun 2024 08:19:38 +0200 Subject: [PATCH] portageq: add page (#13177) --- pages/linux/portageq.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/linux/portageq.md diff --git a/pages/linux/portageq.md b/pages/linux/portageq.md new file mode 100644 index 000000000..c4a147366 --- /dev/null +++ b/pages/linux/portageq.md @@ -0,0 +1,21 @@ +# 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: . + +- 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|...}}`