How To Install libasm-java-doc on Debian 9

In this tutorial we learn how to install libasm-java-doc on Debian 9. libasm-java-doc is Java bytecode manipulation framework (documentation)

Introduction

In this tutorial we learn how to install libasm-java-doc on Debian 9.

What is libasm-java-doc

libasm-java-doc is:

ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify existing classes or dynamically generate classes, directly in binary form. Provided common transformations and analysis algorithms allow one to easily assemble custom complex transformations and code analysis tools.

ASM offer similar functionality as other bytecode frameworks, but it is focused on simplicity of use and performance. Because it was designed and implemented to be as small and as fast as possible, it makes it very attractive for using in dynamic systems.

This package includes the API Javadoc and examples.

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

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

sudo apt-get update

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

sudo apt-get -y install libasm-java-doc

Install libasm-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libasm-java-doc using apt by running the following command:

sudo apt -y install libasm-java-doc

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

sudo aptitude -y install libasm-java-doc

How To Uninstall libasm-java-doc on Debian 9

To uninstall only the libasm-java-doc package we can use the following command:

sudo apt-get remove libasm-java-doc

Uninstall libasm-java-doc And Its Dependencies

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

sudo apt-get -y autoremove libasm-java-doc

Remove libasm-java-doc Configurations and Data

To remove libasm-java-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libasm-java-doc

Remove libasm-java-doc configuration, data, and all of its dependencies

We can use the following command to remove libasm-java-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libasm-java-doc

Dependencies

libasm-java-doc have the following dependencies:

References

Summary

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