How To Install openjdk-asmtools on CentOS 7

In this tutorial we learn how to install openjdk-asmtools on CentOS 7. openjdk-asmtools is To develop tools create proper & improper Java ‘.class’ files

Introduction

In this tutorial we learn how to install openjdk-asmtools on CentOS 7.

What is openjdk-asmtools

AsmTools helps develop tools to create proper and improper Java ‘.class’ files. Aids various Java .class based testing and OpenJDK development applications. Asmtools supports latest class file formats, in lock-step with JDK development. AsmTools consist of a set of (Java class file) assembler/dis-assemblers An assembler language to provide Java-like declaration of member signatures, providing Java VM specification compliant mnemonics for byte-code instructions. JCod/JDec An assembler language to provide byte-code containers of class-file constructs.

We can use yum or dnf to install openjdk-asmtools on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openjdk-asmtools.

Install openjdk-asmtools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openjdk-asmtools using yum by running the following command:

sudo yum -y install openjdk-asmtools

Install openjdk-asmtools on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install openjdk-asmtools using dnf by running the following command:

sudo dnf -y install openjdk-asmtools

How To Uninstall openjdk-asmtools on CentOS 7

To uninstall only the openjdk-asmtools package we can use the following command:

sudo dnf remove openjdk-asmtools

References

Summary

In this tutorial we learn how to install openjdk-asmtools on CentOS 7 using yum and dnf.