How To Install shed on Ubuntu 18.04

In this tutorial we learn how to install shed on Ubuntu 18.04. shed is simple hex editor with a pico-style interface

Introduction

In this tutorial we learn how to install shed on Ubuntu 18.04.

What is shed

shed is:

shed (Simple Hex Editor) is an easy application for viewing and editing files in text mode, using ncurses. The main features are:

  • Displays each byte as ascii, hex, decimal, octal and binary;
  • Allows changes to be input in all of the above displayed modes, with bit toggling in the binary column;
  • Simple Pico-style interface;
  • Search resource;
  • Can dump information to file;
  • Small memory requirements because file is not loaded into memory;
  • Large file support.

shed is useful in forensics investigations.

There are three methods to install shed on Ubuntu 18.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 shed Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install shed

Install shed Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install shed using apt by running the following command:

sudo apt -y install shed

Install shed 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 shed using aptitude by running the following command:

sudo aptitude -y install shed

How To Uninstall shed on Ubuntu 18.04

To uninstall only the shed package we can use the following command:

sudo apt-get remove shed

Uninstall shed And Its Dependencies

To uninstall shed and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove shed

Remove shed Configurations and Data

To remove shed configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge shed

Remove shed configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge shed

References

Summary

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