How To Install bcel on Fedora 34
Introduction
In this tutorial we learn how to install bcel
on Fedora 34.
What is bcel
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 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
or dnf
to install bcel
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bcel.
Install bcel on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install bcel
using dnf
by running the following command:
sudo dnf -y install bcel
Install bcel on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install bcel
using yum
by running the following command:
sudo yum -y install bcel
How To Uninstall bcel on Fedora 34
To uninstall only the bcel
package we can use the following command:
sudo dnf remove bcel
bcel Package Contents on Fedora 34
/usr/share/doc/bcel
/usr/share/doc/bcel/RELEASE-NOTES.txt
/usr/share/java/bcel.jar
/usr/share/licenses/bcel
/usr/share/licenses/bcel/LICENSE.txt
/usr/share/licenses/bcel/NOTICE.txt
/usr/share/maven-metadata/bcel.xml
/usr/share/maven-poms/bcel.pom
References
Summary
In this tutorial we learn how to install bcel
on Fedora 34 using yum and dnf.