How To Install d52 on Debian 10

Learn how to install d52 on Debian 10 with this tutorial. d52 is Disassembler for 8052, 8048/8041, and Z80/8080/8085 code

Introduction

In this tutorial we learn how to install d52 on Debian 10.

What is d52

d52 is:

Disassembler for microcontroller code which supports various targets.

This package contains:

  • d52: a disassembler for 8052 code,
  • d48: a disassembler for 8048/8041 code,
  • dz80: a disassembler for Z80/8080/8085 code.

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

Install d52 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install d52

Install d52 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install d52

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

sudo aptitude -y install d52

How To Uninstall d52 on Debian 10

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

sudo apt-get remove d52

Uninstall d52 And Its Dependencies

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

sudo apt-get -y autoremove d52

Remove d52 Configurations and Data

To remove d52 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge d52

Remove d52 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge d52

Dependencies

d52 have the following dependencies:

References

Summary

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