How To Install libhsdis0-fcml on Kali Linux

In this tutorial we learn how to install libhsdis0-fcml on Kali Linux. libhsdis0-fcml is HotSpot disassembler plugin using FCML

Introduction

In this tutorial we learn how to install libhsdis0-fcml on Kali Linux.

What is libhsdis0-fcml

libhsdis0-fcml is:

This HotSpot plugin enables the PrintAssembly series of options in the JRE’s HotSpot VM. It allows the binary code generated by the JIT compiler to be disassembled and logged.

This plugin is based on the FCML library, not on binutils (unlike the OpenJDK hsdis plugin).

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

Install libhsdis0-fcml Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libhsdis0-fcml

Install libhsdis0-fcml Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhsdis0-fcml

Install libhsdis0-fcml Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install libhsdis0-fcml

How To Uninstall libhsdis0-fcml on Kali Linux

To uninstall only the libhsdis0-fcml package we can use the following command:

sudo apt-get remove libhsdis0-fcml

Uninstall libhsdis0-fcml And Its Dependencies

To uninstall libhsdis0-fcml and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libhsdis0-fcml

Remove libhsdis0-fcml Configurations and Data

To remove libhsdis0-fcml configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libhsdis0-fcml

Remove libhsdis0-fcml configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhsdis0-fcml

Dependencies

libhsdis0-fcml have the following dependencies:

References

Summary

In this tutorial we learn how to install libhsdis0-fcml package on Kali Linux using different package management tools: apt, apt-get and aptitude.