dexlist command not found

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

Introduction

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

dexlist: command not found

or when using sudo you get the following error message

sudo: dexlist: command not found

Solutions to dexlist: command not found

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

In Ubuntu dexlist is provided by dexlist package.

dexlist is:

This is a re-implementation of the original dexlist utility that was based on Dalvik functions in libdex into a new dexlist 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 dexlist

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

You can also use apt command to install dexlist.

sudo apt -y install dexlist

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

sudo aptitude install dexlist

Summary

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