How To Install x86dis on Ubuntu 18.04

In this tutorial we learn how to install x86dis on Ubuntu 18.04. x86dis is Frontend to libdisasm

Introduction

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

What is x86dis

x86dis is:

Libdisasm is a disassembler for Intel x86-compatible object code. It compiles as a shared and static library on Linux, FreeBSD, and Win32 platforms. The core disassembly engine is contained in files with the prefix “i386”, and is shared with the x86 ARCH extension of the bastard disassembler.

This package contains the x86dis command-line frontend.

There are three methods to install x86dis 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 x86dis Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install x86dis

Install x86dis Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install x86dis

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

sudo aptitude -y install x86dis

How To Uninstall x86dis on Ubuntu 18.04

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

sudo apt-get remove x86dis

Uninstall x86dis And Its Dependencies

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

sudo apt-get -y autoremove x86dis

Remove x86dis Configurations and Data

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

sudo apt-get -y purge x86dis

Remove x86dis configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge x86dis

References

Summary

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