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

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

Introduction

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

What is ant-jdepend.noarch

Optional jdepend tasks for ant.

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

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

sudo yum -y install ant-jdepend.noarch

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

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

sudo yum remove ant-jdepend.noarch

ant-jdepend.noarch Package Contents on Amazon Linux 2

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

References

Summary

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