dwarfdump command not found

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

Introduction

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

dwarfdump: command not found

or when using sudo you get the following error message

sudo: dwarfdump: command not found

Solutions to dwarfdump: command not found

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

In Ubuntu dwarfdump is provided by dwarfdump package.

dwarfdump is:

Dwarfdump is an application that can print the DWARF debugging information of an ELF object file in a human-readable form. It can also be used to check and validate manipulated DWARF sections.

This utility is part of dwarfutils.

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

sudo apt-get -y install dwarfdump

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

You can also use apt command to install dwarfdump.

sudo apt -y install dwarfdump

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

sudo aptitude install dwarfdump

Summary

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