pactree: add page (#7326)

feature/windows-fix-syntax-2
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
1 changed files with 24 additions and 0 deletions

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`