HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pactree — Package dependency tree viewer for pacman. More information: <https://manned.org/pactree>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dependencycommandtreeforcliviewerpackagepactree
linux

Problem

How to use the pactree command: Package dependency tree viewer for pacman. More information: <https://manned.org/pactree>.

Solution

pactree — Package dependency tree viewer for pacman. More information: <https://manned.org/pactree>.

Print the dependency tree of a specific package:
pactree {{package}}


Print what packages depend on a specific package:
pactree {{[-r|--reverse]}} {{package}}


Dump dependencies one per line, skipping duplicates:
pactree {{[-u|--unique]}} {{package}}


Include optional dependencies of a specific package and colorize the output:
pactree {{[-co|--color --optional]}} {{package}}


Display help:
pactree

Code Snippets

Print the dependency tree of a specific package

pactree {{package}}

Print what packages depend on a specific package

pactree {{[-r|--reverse]}} {{package}}

Dump dependencies one per line, skipping duplicates

pactree {{[-u|--unique]}} {{package}}

Include optional dependencies of a specific package and colorize the output

pactree {{[-co|--color --optional]}} {{package}}

Display help

pactree

Context

tldr-pages: linux/pactree

Revisions (0)

No revisions yet.