hexedit command not found

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

Introduction

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

hexedit: command not found

or when using sudo you get the following error message

sudo: hexedit: command not found

Solutions to hexedit: command not found

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

In Ubuntu hexedit is provided by hexedit package.

hexedit is:

hexedit shows a target both in hexadecimal and in ASCII. This target can be a device or a file. You can edit the target and search through it. There are also copy&paste and save to file functions. Is allowed truncating or appending to the target. All modifications are shown in bold.

hexedit is ideal to edit or inspect very large files or devices, as hard disks or its partitions, flash drives, etc. These elements will not be wholly read because hexedit loads a piece at a time.

hexedit can be used by programmers in several activities. It also is useful for debugging, forensics investigations and recovering from digital disasters.

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

sudo apt-get -y install hexedit

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

You can also use apt command to install hexedit.

sudo apt -y install hexedit

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

sudo aptitude install hexedit

Summary

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