1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

pactree: add page (#7326)

This commit is contained in:
Managor 2021-11-08 03:25:43 +02:00 committed by GitHub
parent b2d6839fd9
commit 7a917bda00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/linux/pactree.md Normal file
View file

@ -0,0 +1,24 @@
# pactree
> Package dependency tree viewer for pacman.
> More information: <https://man.archlinux.org/man/pactree.8>.
- Print the dependency tree of a specific package:
`pactree {{package}}`
- Print what packages depend on a specific package:
`pactree --reverse {{package}}`
- Dump dependencies one per line, skipping duplicates:
`pactree --unique {{package}}`
- Include optional dependencies of a specific package and colorize the output:
`pactree --optional --color {{package}}`
- Display help:
`pactree`