How To Install jdepend.noarch on Amazon Linux 2

In this tutorial we learn how to install jdepend.noarch in Amazon Linux 2. jdepend.noarch is Java Design Quality Metrics

Introduction

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

What is jdepend.noarch

JDepend traverses a set of Java class and source file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to effectively manage and control package dependencies.

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

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

sudo yum -y install jdepend.noarch

How To Uninstall jdepend.noarch on Amazon Linux 2

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

sudo yum remove jdepend.noarch

jdepend.noarch Package Contents on Amazon Linux 2

/usr/share/doc/jdepend-2.9.1
/usr/share/doc/jdepend-2.9.1/LICENSE
/usr/share/doc/jdepend-2.9.1/README
/usr/share/doc/jdepend-2.9.1/docs
/usr/share/doc/jdepend-2.9.1/docs/JDepend.html
/usr/share/doc/jdepend-2.9.1/docs/images
/usr/share/doc/jdepend-2.9.1/docs/images/figure1a.jpg
/usr/share/doc/jdepend-2.9.1/docs/images/figure1b.jpg
/usr/share/doc/jdepend-2.9.1/docs/images/figure2b.jpg
/usr/share/doc/jdepend-2.9.1/docs/images/figure3b.jpg
/usr/share/doc/jdepend-2.9.1/docs/jdepend-report.dot
/usr/share/doc/jdepend-2.9.1/docs/jdepend-report.txt
/usr/share/doc/jdepend-2.9.1/docs/jdepend-report.xml
/usr/share/doc/jdepend-2.9.1/docs/jdepend-text.out
/usr/share/doc/jdepend-2.9.1/docs/jdepend-xml.out
/usr/share/java/jdepend.jar
/usr/share/maven-fragments/jdepend
/usr/share/maven-poms/JPP-jdepend.pom

References

Summary

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