Install Ldd On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

Install Ldd On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian

ldd

Display shared library dependencies.

Maintainer: GNU Libc Maintainers



Section: libs

Install ldd

  • Debian apt-get install libc-bin Click to copy
  • Ubuntu apt-get install libc-bin Click to copy
  • Arch Linux pacman -S glibc Click to copy
  • Kali Linux apt-get install libc-bin Click to copy
  • CentOS yum install glibc-common Click to copy
  • Fedora dnf install glibc-common Click to copy
  • Raspbian apt-get install libc-bin Click to copy

Display shared library dependencies.

How to use ldd?

Below are few example commands for ldd that you can use in the terminal.

Display shared library dependencies of a binary:
ldd path/to/binaryClick to copy
Display unused direct dependencies:
ldd -u path/to/binaryClick to copy
Installing ldd command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of ldd 2026 package in your OS.