https://github.com/haampie/libtree Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} haampie / libtree Public * Notifications You must be signed in to change notification settings * Fork 49 * Star 1.9k * ldd as a tree License MIT license 1.9k stars 49 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 8 * Pull requests 3 * Actions * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Security * Insights haampie/libtree This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 290 Commits .github/workflows .github/ workflows doc doc tests tests .clang-format .clang-format .gitignore .gitignore CHANGELOG.md CHANGELOG.md LICENSE LICENSE Makefile Makefile README.md README.md libtree.c libtree.c View all files Repository files navigation * README * MIT license libtree A tool that: * turns ldd into a tree * [?] explains how shared libraries are found or why they cannot be located Screenshot of libtree Output By default, certain standard dependencies are not shown. For more verbose output use * libtree -v Show libraries skipped by default * libtree -vv Show dependencies of libraries skipped by default * libtree -vvv Show dependencies of already encountered libraries Use the --path or -p flags to show paths rather than sonames: * libtree -p $(which tar) Use --max-depth to limit the recursion depth. Install * Prebuilt binaries for v3.1.1 arch sha256sum aarch64 c5d4fbcd4e3fb46f02c028532f60fcf1c92f7c6aad5b07a991c67550c2554862 (linux) armv6l 16f5a7503a095bd88ebc5e21ec4ba8337c5d9712cac355bf89399c9e6beef661 (linux) armv7l 17f493621e7cc651e2bddef207c1554a64a114e1c907dbe5b79ff0e97180b29e (linux) i686 230a163c20f4a88a983d8647a9aa793317be6556e2c6a79e8a6295389e651ef5 (linux) x86_64 49218482f89648972ea4ef38cf986e85268efd1ce8f27fe14b23124bca009e6f (linux) * Fedora / RHEL / CentOS $ dnf install epel-release # For RHEL and derivatives enable EPEL first $ dnf install libtree-ldd * Ubuntu 22.04+ apt-get install libtree * GNU Guix guix install libtree * Older release v2.0.0 Building from sources libtree requires a C compiler that understands c99 git clone https://github.com/haampie/libtree.git cd libtree make # recommended: LDFLAGS=-static Or use the following unsafe quick install instructions curl -Lfs https://raw.githubusercontent.com/haampie/libtree/master/libtree.c | ${CC:-cc} -o libtree -x c - -std=c99 -D_FILE_OFFSET_BITS=64 About ldd as a tree Resources Readme License MIT license Activity Stars 1.9k stars Watchers 17 watching Forks 49 forks Report repository Releases 35 Release v3.1.1 Latest May 13, 2022 + 34 releases Contributors 14 * * * * * * * * * * * * * * Languages * C 84.4% * Makefile 15.6% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.