libtree(1)
β¨ libtree β print shared object dependencies as a tree β¨
okay bestie, so libtree is a thing in the User Manuals section of the manual (section 1, obviously π
), and it does exactly what it says on the tin: it shows you the shared libraries your programs need, but as a tree. iconic behaviour honestly π
πΈ SYNOPSIS πΈ
libtree [ option ]... [--] [ file ]...
π¦ DESCRIPTION π¦
So here's the tea π: libtree prints the shared libraries that each program or shared library on the command line needs, and it lays them out like a tree so you can actually see the structure instead of squinting at a wall of paths. main character energy fr fr π
And by default? It hides certain common system libraries to prune the tree β so you're not drowning in noise you didn't ask for. lowkey thoughtful of it π«Ά
π OPTIONS π
-h,--helpβ prints usage. you know the drill, bestie β¨--versionβ prints version info π-p,--pathβ shows the path of libraries instead of their soname-vβ shows the libraries that get skipped by default (the hidden ones! sneak peek π)-vvβ shows the dependencies of those libraries that get skipped by default-vvvβ shows the dependencies of libraries you've already encountered--ldconfarg β path to a customld.so.conforld-elf.so.conffile--max-depthn β limits library traversal to a depth of at most n. > β οΈ heads up: this value cannot be larger than 32. it's a hard cap, no negotiating π--β every argument after--is treated as a path, not a flag. so if your filename is being dramatic and looks like an option, this is your escape hatch πͺ
π ENVIRONMENT π
LD_LIBRARY_PATH can be used to provide additional search paths. extra places to look, extra chances to find your libs π§
π AUTHOR π
Harmen Stoppels <me@harmenstoppels.nl> β legend behaviour honestly π
π₯ SEE ALSO π₯
okay that's the whole page, no cap. this was libtree(1), the Linux one, dated 2020-04-13 β go forth and inspect your dependencies, bestie, you've absolutely got this πβ¨π
π¦ where this page comes from
- alpine 3.24: libtree-doc 3.1.1-r0 Β· MIT
- debian bookworm: libtree 3.1.1-2 Β· MIT
- debian trixie: libtree 3.1.1-3 Β· MIT
- epel 9: libtree-ldd 3.1.0-1.el9 Β· MIT
- fedora 43: libtree-ldd 3.1.1-11.fc43 Β· MIT
- fedora 43: libtree-ldd 3.1.1-12.fc43 Β· MIT
- fedora 44: libtree-ldd 3.1.1-12.fc44 Β· MIT
- nixos 26.05: libtree 3.1.1
- nixpkgs unstable: libtree 3.1.1
- opensuse-leap 16.0: libtree 3.1.1-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtree 3.1.1-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtree 3.1.1-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtree 3.1.1-bp160.1.11 Β· MIT
- ubuntu noble: libtree 3.1.1-2 Β· MIT
- ubuntu questing: libtree 3.1.1-3
- ubuntu resolute: libtree 3.1.1-4 Β· MIT
- ubuntu stonking: libtree 3.1.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms