portageq: add page (#13177)

pull/28/head
Lena 2024-06-28 08:19:38 +02:00 committed by GitHub
parent e1100b1856
commit 4b60f16eae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 0 deletions

21
pages/linux/portageq.md Normal file
View File

@ -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: <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|...}}`