tldr/pages/linux/equery.md

25 lines
523 B
Markdown
Raw Normal View History

2016-06-21 22:53:23 +01:00
# equery
> View information about Portage packages.
> More information: <https://wiki.gentoo.org/wiki/Equery>.
2016-06-21 22:53:23 +01:00
- List all installed packages:
`equery list '*'`
- Search for installed packages in the Portage tree and in overlays:
`equery list -po {{package1 package2 ...}}`
2016-06-21 22:53:23 +01:00
- List all packages that depend on a given package:
`equery depends {{package}}`
2016-06-21 22:53:23 +01:00
- List all packages that a given package depends on:
`equery depgraph {{package}}`
2016-06-21 22:53:23 +01:00
- List all files installed by a package:
`equery files --tree {{package}}`