hexeditor command not found

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

Introduction

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

hexeditor: command not found

or when using sudo you get the following error message

sudo: hexeditor: command not found

Solutions to hexeditor: command not found

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

In Ubuntu hexeditor is provided by ncurses-hexedit package.

ncurses-hexedit is:

Hexedit is a file editor which allows editing and viewing a file in hexadecimal, along with its ASCII or EBCDIC text equivalent. Standard editing features include insert, delete, search (text or byte searches), highlighted changes, undo, two different viewing formats, and full screen text snapshots. Allows editing of fixed disks as well. Includes a binary/octal/decimal/hex converter.

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

sudo apt-get -y install ncurses-hexedit

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

You can also use apt command to install ncurses-hexedit.

sudo apt -y install ncurses-hexedit

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

sudo aptitude install ncurses-hexedit

Summary

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