How To Install ant-antlr.noarch on Amazon Linux 2

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

Introduction

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

What is ant-antlr.noarch

Optional antlr tasks for ant.

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

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

sudo yum -y install ant-antlr.noarch

How To Uninstall ant-antlr.noarch on Amazon Linux 2

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

sudo yum remove ant-antlr.noarch

ant-antlr.noarch Package Contents on Amazon Linux 2

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

References

Summary

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