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

In this tutorial we learn how to install ant-contrib.noarch in Amazon Linux 2. ant-contrib.noarch is Collection of tasks for Ant

Introduction

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

What is ant-contrib.noarch

The Ant-Contrib project is a collection of tasks (and at one point maybe types and other tools) for Apache Ant.

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

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

sudo yum -y install ant-contrib.noarch

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

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

sudo yum remove ant-contrib.noarch

ant-contrib.noarch Package Contents on Amazon Linux 2

/etc/ant.d/ant-contrib
/usr/share/doc/ant-contrib-1.0
/usr/share/doc/ant-contrib-1.0/LICENSE-2.0.txt
/usr/share/doc/ant-contrib-1.0/LICENSE.txt
/usr/share/doc/ant-contrib-1.0/antcallback_task.html
/usr/share/doc/ant-contrib-1.0/antclipse_task.html
/usr/share/doc/ant-contrib-1.0/antfetch_task.html
/usr/share/doc/ant-contrib-1.0/assert_task.html
/usr/share/doc/ant-contrib-1.0/compilewithwalls.html
/usr/share/doc/ant-contrib-1.0/for.html
/usr/share/doc/ant-contrib-1.0/foreach.html
/usr/share/doc/ant-contrib-1.0/forget.html
/usr/share/doc/ant-contrib-1.0/get-cookie_task.html
/usr/share/doc/ant-contrib-1.0/get-method_task.html
/usr/share/doc/ant-contrib-1.0/head-method_task.html
/usr/share/doc/ant-contrib-1.0/http-client_type.html
/usr/share/doc/ant-contrib-1.0/http-state_type.html
/usr/share/doc/ant-contrib-1.0/if.html
/usr/share/doc/ant-contrib-1.0/importurl.html
/usr/share/doc/ant-contrib-1.0/index.html
/usr/share/doc/ant-contrib-1.0/inifile.html
/usr/share/doc/ant-contrib-1.0/limit_task.html
/usr/share/doc/ant-contrib-1.0/math_task.html
/usr/share/doc/ant-contrib-1.0/method_task_common.html
/usr/share/doc/ant-contrib-1.0/more_conditions.html
/usr/share/doc/ant-contrib-1.0/osfamily.html
/usr/share/doc/ant-contrib-1.0/outofdate.html
/usr/share/doc/ant-contrib-1.0/pathtofileset.html
/usr/share/doc/ant-contrib-1.0/performance_monitor.html
/usr/share/doc/ant-contrib-1.0/post-method_task.html
/usr/share/doc/ant-contrib-1.0/post_task.html
/usr/share/doc/ant-contrib-1.0/propertycopy.html
/usr/share/doc/ant-contrib-1.0/propertyregex.html
/usr/share/doc/ant-contrib-1.0/propertyselector.html
/usr/share/doc/ant-contrib-1.0/relentless.html
/usr/share/doc/ant-contrib-1.0/runtarget.html
/usr/share/doc/ant-contrib-1.0/server_tasks.html
/usr/share/doc/ant-contrib-1.0/shellscript.html
/usr/share/doc/ant-contrib-1.0/sortlist.html
/usr/share/doc/ant-contrib-1.0/stopwatch_task.html
/usr/share/doc/ant-contrib-1.0/switch.html
/usr/share/doc/ant-contrib-1.0/throw.html
/usr/share/doc/ant-contrib-1.0/timestampselector.html
/usr/share/doc/ant-contrib-1.0/toc.html
/usr/share/doc/ant-contrib-1.0/trycatch.html
/usr/share/doc/ant-contrib-1.0/urlencode.html
/usr/share/doc/ant-contrib-1.0/variable_task.html
/usr/share/doc/ant-contrib-1.0/verifydesign.html
/usr/share/doc/ant-contrib-1.0/verifylegacytutorial.html
/usr/share/doc/ant-contrib-1.0/verifynewprojtutorial.html
/usr/share/java/ant/ant-contrib.jar
/usr/share/maven-fragments/ant-contrib
/usr/share/maven-poms/JPP.ant-ant-contrib.pom

References

Summary

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