lddtree command not found

In this troubleshooting guide we learn how to fix lddtree command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lddtree: command not found

or when using sudo you get the following error message

sudo: lddtree: command not found

Solutions to lddtree: command not found

How To Fix lddtree: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lddtree is provided by pax-utils package.

pax-utils is:

This is a small set of various PaX aware and related utilities for ELF binaries. It can check ELF binary files and running processes for issues that might be relevant when using ELF binaries along with PaX, such as non-PIC code or executable stack and heap.

This package installs: dumpelf, lddtree, pspax, scanelf, scanmacho and symtree.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pax-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pax-utils.

sudo apt -y install pax-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install pax-utils

Summary

In this tutorial we learn how to fix lddtree command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.