How To Install ant-commons-logging.noarch on Amazon Linux 2

In this tutorial we learn how to install ant-commons-logging.noarch in Amazon Linux 2. ant-commons-logging.noarch is Optional commons logging tasks for ant

Introduction

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

What is ant-commons-logging.noarch

Optional commons logging tasks for ant.

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

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

sudo yum -y install ant-commons-logging.noarch

How To Uninstall ant-commons-logging.noarch on Amazon Linux 2

To uninstall only the ant-commons-logging.noarch package we can use the following command:

sudo yum remove ant-commons-logging.noarch

ant-commons-logging.noarch Package Contents on Amazon Linux 2

/etc/ant.d/commons-logging
/usr/share/ant/lib/ant-commons-logging.jar
/usr/share/java/ant/ant-commons-logging.jar
/usr/share/maven-fragments/ant-commons-logging
/usr/share/maven-poms/JPP.ant-ant-commons-logging.pom

References

Summary

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