mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
615 B
Plaintext
30 lines
615 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# equery
|
|
|
|
> View information about Portage packages.
|
|
> More information: <https://wiki.gentoo.org/wiki/Equery>.
|
|
|
|
- List all installed packages:
|
|
|
|
`equery list '*'`
|
|
|
|
- Search for installed packages in the Portage tree and in overlays:
|
|
|
|
`equery list -po {{package1 package2 ...}}`
|
|
|
|
- List all packages that depend on a given package:
|
|
|
|
`equery depends {{package}}`
|
|
|
|
- List all packages that a given package depends on:
|
|
|
|
`equery depgraph {{package}}`
|
|
|
|
- List all files installed by a package:
|
|
|
|
`equery files --tree {{package}}`
|