How To Install ant-apache-oro.noarch on Amazon Linux 2

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

Introduction

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

What is ant-apache-oro.noarch

Optional apache oro tasks for ant.

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

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

sudo yum -y install ant-apache-oro.noarch

How To Uninstall ant-apache-oro.noarch on Amazon Linux 2

To uninstall only the ant-apache-oro.noarch package we can use the following command:

sudo yum remove ant-apache-oro.noarch

ant-apache-oro.noarch Package Contents on Amazon Linux 2

/etc/ant.d/apache-oro
/usr/share/ant/etc/maudit-frames.xsl
/usr/share/ant/lib/ant-apache-oro.jar
/usr/share/java/ant/ant-apache-oro.jar
/usr/share/maven-fragments/ant-apache-oro
/usr/share/maven-poms/JPP.ant-ant-apache-oro.pom

References

Summary

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