How To Install cglib.noarch on Amazon Linux 2

In this tutorial we learn how to install cglib.noarch in Amazon Linux 2. cglib.noarch is Code Generation Library for Java

Introduction

In this tutorial we learn how to install cglib.noarch on Amazon Linux 2.

What is cglib.noarch

cglib is a powerful, high performance and quality code generation library for Java. It is used to extend Java classes and implements interfaces at runtime.

We can use yum to install cglib.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cglib.noarch.

Install cglib.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 cglib.noarch using yum by running the following command:

sudo yum -y install cglib.noarch

How To Uninstall cglib.noarch on Amazon Linux 2

To uninstall only the cglib.noarch package we can use the following command:

sudo yum remove cglib.noarch

cglib.noarch Package Contents on Amazon Linux 2

/usr/share/doc/cglib-2.2
/usr/share/doc/cglib-2.2/LICENSE
/usr/share/doc/cglib-2.2/NOTICE
/usr/share/java/cglib.jar
/usr/share/maven-fragments/cglib
/usr/share/maven-poms/JPP-cglib.pom

References

Summary

In this tutorial we learn how to install cglib.noarch on Amazon Linux 2 using yum.