How To Install dis51 on Debian 9

In this tutorial we learn how to install dis51 on Debian 9. dis51 is Disassembler for 8051 code in Intel Hex format

Introduction

In this tutorial we learn how to install dis51 on Debian 9.

What is dis51

dis51 is:

Dis51 is a simple 8051 disassembler. It takes an object file in Intel Hex (*.ihx or *.hex) format as input, and outputs an assembly language file.

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

Install dis51 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dis51

Install dis51 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dis51

Install dis51 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install dis51

How To Uninstall dis51 on Debian 9

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

sudo apt-get remove dis51

Uninstall dis51 And Its Dependencies

To uninstall dis51 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove dis51

Remove dis51 Configurations and Data

To remove dis51 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge dis51

Remove dis51 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dis51

Dependencies

dis51 have the following dependencies:

References

Summary

In this tutorial we learn how to install dis51 package on Debian 9 using different package management tools: apt, apt-get and aptitude.