How To Install apache-commons-pool.noarch on Amazon Linux 2

In this tutorial we learn how to install apache-commons-pool.noarch in Amazon Linux 2. apache-commons-pool.noarch is Apache Commons Pool Package

Introduction

In this tutorial we learn how to install apache-commons-pool.noarch on Amazon Linux 2.

What is apache-commons-pool.noarch

The goal of Pool package is it to create and maintain an object (instance) pooling package to be distributed under the ASF license. The package should support a variety of pool implementations, but encourage support of an interface that makes these implementations interchangeable.

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

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

sudo yum -y install apache-commons-pool.noarch

How To Uninstall apache-commons-pool.noarch on Amazon Linux 2

To uninstall only the apache-commons-pool.noarch package we can use the following command:

sudo yum remove apache-commons-pool.noarch

apache-commons-pool.noarch Package Contents on Amazon Linux 2

/usr/share/doc/apache-commons-pool-1.6
/usr/share/doc/apache-commons-pool-1.6/LICENSE.txt
/usr/share/doc/apache-commons-pool-1.6/NOTICE.txt
/usr/share/doc/apache-commons-pool-1.6/README.txt
/usr/share/doc/apache-commons-pool-1.6/RELEASE-NOTES.txt
/usr/share/java/apache-commons-pool.jar
/usr/share/java/commons-pool.jar
/usr/share/maven-effective-poms/JPP-apache-commons-pool.pom
/usr/share/maven-effective-poms/JPP-commons-pool.pom
/usr/share/maven-fragments/apache-commons-pool.xml
/usr/share/maven-poms/JPP-apache-commons-pool.pom
/usr/share/maven-poms/JPP-commons-pool.pom

References

Summary

In this tutorial we learn how to install apache-commons-pool.noarch on Amazon Linux 2 using yum.