hexdiff command not found

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

Introduction

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

hexdiff: command not found

or when using sudo you get the following error message

sudo: hexdiff: command not found

Solutions to hexdiff: command not found

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

In Ubuntu hexdiff is provided by hexdiff package.

hexdiff is:

Editor to visualize binary differences in hexadecimal between 2 files. The editor open in an horizontal split view with each file per view. Each view has 3 columns : offset, hexadecimal output, ASCII output. Differences are highlighted by having the background color inverted. Some crucial information are displayed as current offset, etc… Has shortcut to move into the file, to the next difference, etc…

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

sudo apt-get -y install hexdiff

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

You can also use apt command to install hexdiff.

sudo apt -y install hexdiff

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

sudo aptitude install hexdiff

Summary

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