Libtree is a tool that visualizes ldd dependencies in a tree format, offering explanations on shared library locations. Default output omits some standard dependencies, but verbosity levels can be adjusted with -v flags. Show skipped libraries with -vv or full dependencies with -vvv. Specify paths with -p flag and limit recursion depth with –max-depth. Prebuilt binaries for various architectures are available for download. Installation instructions are provided for Fedora, RHEL, CentOS, and Ubuntu systems. For older releases or building from source, a C compiler that understands c99 is required. Quick installation via curl commands is also an option.
https://github.com/haampie/libtree