How To Install openjdk-asmtools on Rocky Linux 8
Introduction
In this tutorial we learn how to install openjdk-asmtools
on Rocky Linux 8.
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 Jasm/Jdis 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openjdk-asmtools.
Install openjdk-asmtools on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install openjdk-asmtools
using dnf
by running the following command:
sudo dnf -y install openjdk-asmtools
Install openjdk-asmtools on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install openjdk-asmtools
using yum
by running the following command:
sudo yum -y install openjdk-asmtools
How To Uninstall openjdk-asmtools on Rocky Linux 8
To uninstall only the openjdk-asmtools
package we can use the following command:
sudo dnf remove openjdk-asmtools
openjdk-asmtools Package Contents on Rocky Linux 8
/usr/bin/openjdk-asmtools
/usr/bin/openjdk-asmtools-jasm
/usr/bin/openjdk-asmtools-jcdec
/usr/bin/openjdk-asmtools-jcoder
/usr/bin/openjdk-asmtools-jdec
/usr/bin/openjdk-asmtools-jdis
/usr/share/doc/openjdk-asmtools
/usr/share/doc/openjdk-asmtools/README.md
/usr/share/java/openjdk-asmtools
/usr/share/java/openjdk-asmtools/asmtools-core.jar
/usr/share/licenses/openjdk-asmtools
/usr/share/licenses/openjdk-asmtools/LICENSE
/usr/share/man/man1/openjdk-asmtools.1.gz
/usr/share/maven-metadata/openjdk-asmtools.xml
/usr/share/maven-poms/openjdk-asmtools
/usr/share/maven-poms/openjdk-asmtools/asmtools-core.pom
References
Summary
In this tutorial we learn how to install openjdk-asmtools
on Rocky Linux 8 using yum and dnf.