dhex command not found

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

Introduction

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

dhex: command not found

or when using sudo you get the following error message

sudo: dhex: command not found

Solutions to dhex: command not found

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

In Ubuntu dhex is provided by dhex package.

dhex is:

This is more than just another hex editor: It includes a diff mode, which can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily.

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

sudo apt-get -y install dhex

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

You can also use apt command to install dhex.

sudo apt -y install dhex

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

sudo aptitude install dhex

Summary

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