PACTREE(8)
π PACTREE β the pactree(8) glow-up (pacman-contrib manual, bestie edition)
okay so you opened pactree(8) and you're like "what is this tree situation" β don't worry, i got you. this is the pactree page from the pacman-contrib manual, and we're gonna make it make sense. π
β¨ NAME β¨
pactree β literally just a package dependency tree viewer. that's her job. that's what she does. π
π¦ SYNOPSIS π¦
pactree [options] <package>
one package, a bunch of options, go off. β¨
πΈ DESCRIPTION πΈ
pactree produces a dependency tree for a package. like, the whole family tree of what needs what. π³
By default, a tree-like output is generated β very demure, very branchy. but with the --graph option, a Graphviz description is generated instead. switching aesthetics, iconic. π₯
π OPTIONS π
-a,--asciiβ Use ASCII characters for tree formatting. By default,pactreewill use Unicode line drawing characters if it is able to detect that the locale supports them. so if your terminal is being weird about the pretty lines, this is your girl. π«Ά-c,--colorβ Colorize output. rainbow-ify it. π--config <file>β Specify an alternate pacman configuration file. you're not stuck with the default one, bestie. ποΈ-b,--dbpathβ Specify an alternative database location. π--debugβ Print log messages produced by libalpm. for when you wanna see the receipts. π-d,--depth <num>β Limits the number of levels of dependency to show. A zero means show the named package only, one shows the packages that are directly required. so0= just her,1= her plus her direct circle. π―--gpgdir <dir>β Specify an alternate GnuPG directory for verifying database signatures (default is/etc/pacman.d/gnupg). π-g,--graphβ Generate a Graphviz description. If this option is given, the--colorand--linearoptions are ignored. so like, those two are getting unfollowed for this one. π-h,--helpβ Display syntax and command-line options. the classic "wait what were the flags again" save. π-l,--linearβ Prints package names at the start of each line, one per line. no tree, just a clean little list. π-o,--optional[=depth]β Additionally prints optional dependencies up to a certain depth, default 1 for immediate optional dependencies. When used in conjunction with-rit shows which packages it is optional for. In Graphviz mode, produce dotted lines. Negative values mean infinite depth. so yeah, optional deps get their own dotted-line moment β¨-r,--reverseβ Show packages that depend on the named package. flipping the whole tree around, main character energy. π-s,--syncβ Read package data from sync databases instead of local database. π‘-u,--uniqueβ List dependent packages once. Implies--linear. no duplicates, we said what we said. π-V,--versionβ Display the version. π·οΈ
π SEE ALSO π
pacman(8), pacman.conf(5), makepkg(8) β go read your cousins' pages too, iykyk. π
π BUGS π
Bugs? You must be kidding; there are no bugs in this software. π
But if we happen to be wrong β and like, hypothetically π β file an issue with as much detail as possible at https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/new. details, screenshots, the whole vibe. the more the better, fr fr. π
π§ AUTHORS π§
Current maintainers:
- Johannes LΓΆthberg
<johannes@kyriasis.com> - Daniel M. Capella
<polyzen@archlinux.org>
For additional contributors, use git shortlog -s on the pacman-contrib.git repository. give the whole squad their credit. π«Ά
aaand that's the page, bestie β brought to you by Pacman-contrib 1.13.1, dated 2025-12-11. slay, go read your dependency trees. ππ
π¦ where this page comes from
- arch rolling: pacman-contrib 1.13.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms