dexdump command not found

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

Introduction

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

dexdump: command not found

or when using sudo you get the following error message

sudo: dexdump: command not found

Solutions to dexdump: command not found

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

In Ubuntu dexdump is provided by dexdump package.

dexdump is:

The dexdump tool is intended to mimic objdump. When possible, use similar command-line arguments.

This is a re-implementation of the original dexdump utility that was based on Dalvik functions in libdex into a new dexdump that is now based on ART functions in libart instead. The output is very similar to the original for correct DEX files. Error messages may differ, however. Also, ODEX files are no longer supported.

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

sudo apt-get -y install dexdump

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

You can also use apt command to install dexdump.

sudo apt -y install dexdump

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

sudo aptitude install dexdump

Summary

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