How To Install bcel.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install bcel.noarch
on Amazon Linux 2.
What is bcel.noarch
The Byte Code Engineering Library (formerly known as JavaClass) is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class byte code instructions, in particular. Such objects can be read from an existing file, be transformed by a program (e.g. a class loader at run-time) and dumped to a file again. An even more interesting application is the creation of classes from scratch at run-time. The Byte Code Engineering Library (BCEL) may be also useful if you want to learn about the Java Virtual Machine (JVM) and the format of Java .class files. BCEL is already being used successfully in several projects such as compilers, optimizers, obsfuscators and analysis tools, the most popular probably being the Xalan XSLT processor at Apache.
We can use yum
to install bcel.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bcel.noarch.
Install bcel.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install bcel.noarch
using yum
by running the following command:
sudo yum -y install bcel.noarch
How To Uninstall bcel.noarch on Amazon Linux 2
To uninstall only the bcel.noarch
package we can use the following command:
sudo yum remove bcel.noarch
bcel.noarch Package Contents on Amazon Linux 2
/usr/share/doc/bcel-5.2
/usr/share/doc/bcel-5.2/LICENSE.txt
/usr/share/doc/bcel-5.2/NOTICE.txt
/usr/share/doc/bcel-5.2/README.txt
/usr/share/java/bcel.jar
/usr/share/maven-effective-poms/JPP-bcel.pom
/usr/share/maven-fragments/bcel.xml
/usr/share/maven-poms/JPP-bcel.pom
References
Summary
In this tutorial we learn how to install bcel.noarch
on Amazon Linux 2 using yum.