libtree(1) User Manuals libtree(1)

# [NAME](#NAME)

libtree - print shared object dependencies as a tree

# [SYNOPSIS](#SYNOPSIS)

**libtree** \[ *option* ]... \[--] \[ *file* ]...

# [DESCRIPTION](#DESCRIPTION)

**libtree** prints the shared libraries required by each program or shared library on the command line as a tree. By default certain common system libraries are hidden to prune the tree.

# [OPTIONS](#OPTIONS)

[-h, --help](#h,)

Print usage

[--version](#version)

Print version info

[-p, --path](#p,)

Show the path of libraries instead of their **soname**

[-v](#v)

Show libraries skipped by default

[-vv](#vv)

Show dependencies of libraries skipped by default

[-vvv](#vvv)

Show dependencies of already encountered libraries

[--ldconf arg](#ldconf)

Path to custom *ld.so.conf* or *ld-elf.so.conf* file

[--max-depth n](#max-depth)

Limit library traversal to a depth of at most *n* . The value cannot be larger than 32.

--

All arguments after '--' are interpreted as paths, not flags.

# [ENVIRONMENT](#ENVIRONMENT)

**LD\_LIBRARY\_PATH** can be used to provide additional search paths.

# [AUTHOR](#AUTHOR)

Harmen Stoppels &lt;me@harmenstoppels.nl&gt;

# [SEE ALSO](#SEE_ALSO)

[**ldd**(1)](/man/os/libtree/ldd.1)

2020-04-13 Linux

---

Document: libtree(1) from libtree 3.1.1-r3 (Chainguard OS)
Source: https://github.com/haampie/libtree
