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

In this tutorial we learn how to install apache-commons-digester.noarch in Amazon Linux 2. apache-commons-digester.noarch is XML to Java object mapping module

Introduction

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

What is apache-commons-digester.noarch

Many projects read XML configuration files to provide initialization of various Java objects within the system. There are several ways of doing this, and the Digester component was designed to provide a common implementation that can be used in many different projects

We can use yum to install apache-commons-digester.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-digester.noarch.

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

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

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

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

sudo yum remove apache-commons-digester.noarch

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

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

References

Summary

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