How To Install apache-ivy.noarch on Amazon Linux 2

In this tutorial we learn how to install apache-ivy.noarch in Amazon Linux 2. apache-ivy.noarch is Java-based dependency manager

Introduction

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

What is apache-ivy.noarch

Apache Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies. It is designed as process agnostic and is not tied to any methodology or structure. while available as a standalone tool, Apache Ivy works particularly well with Apache Ant providing a number of powerful Ant tasks ranging from dependency resolution to dependency reporting and publication.

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

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

sudo yum -y install apache-ivy.noarch

How To Uninstall apache-ivy.noarch on Amazon Linux 2

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

sudo yum remove apache-ivy.noarch

apache-ivy.noarch Package Contents on Amazon Linux 2

/etc/ant.d/apache-ivy
/usr/share/doc/apache-ivy-2.3.0
/usr/share/doc/apache-ivy-2.3.0/CHANGES.txt
/usr/share/doc/apache-ivy-2.3.0/LICENSE
/usr/share/doc/apache-ivy-2.3.0/NOTICE
/usr/share/doc/apache-ivy-2.3.0/README
/usr/share/doc/apache-ivy-2.3.0/RELEASE_NOTES
/usr/share/java/ivy.jar

References

Summary

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