How To Install ncurses-hexedit on Ubuntu 20.04

In this tutorial we learn how to install ncurses-hexedit on Ubuntu 20.04. ncurses-hexedit is Edit files/disks in hex, ASCII and EBCDIC

Introduction

In this tutorial we learn how to install ncurses-hexedit on Ubuntu 20.04.

What is ncurses-hexedit

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.

There are three methods to install ncurses-hexedit on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ncurses-hexedit Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ncurses-hexedit using apt-get by running the following command:

sudo apt-get -y install ncurses-hexedit

Install ncurses-hexedit Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ncurses-hexedit using apt by running the following command:

sudo apt -y install ncurses-hexedit

Install ncurses-hexedit Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ncurses-hexedit using aptitude by running the following command:

sudo aptitude -y install ncurses-hexedit

How To Uninstall ncurses-hexedit on Ubuntu 20.04

To uninstall only the ncurses-hexedit package we can use the following command:

sudo apt-get remove ncurses-hexedit

Uninstall ncurses-hexedit And Its Dependencies

To uninstall ncurses-hexedit and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ncurses-hexedit

Remove ncurses-hexedit Configurations and Data

To remove ncurses-hexedit configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ncurses-hexedit

Remove ncurses-hexedit configuration, data, and all of its dependencies

We can use the following command to remove ncurses-hexedit configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ncurses-hexedit

References

Summary

In this tutorial we learn how to install ncurses-hexedit package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.