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

In this tutorial we learn how to install apache-rat.noarch in Amazon Linux 2. apache-rat.noarch is Apache Release Audit Tool (RAT)

Introduction

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

What is apache-rat.noarch

Release Audit Tool (RAT) is a tool to improve accuracy and efficiency when checking releases. It is heuristic in nature making guesses about possible problems. It will produce false positives and cannot find every possible issue with a release. It’s reports require interpretation. RAT was developed in response to a need felt in the Apache Incubator to be able to review releases for the most common faults less labor intensively. It is therefore highly tuned to the Apache style of releases. This package just contains meta-data, you will want either apache-rat-tasks, or apache-rat-plugin.

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

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

sudo yum -y install apache-rat.noarch

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

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

sudo yum remove apache-rat.noarch

apache-rat.noarch Package Contents on Amazon Linux 2

/usr/share/doc/apache-rat-0.8
/usr/share/doc/apache-rat-0.8/DISCLAIMER.txt
/usr/share/doc/apache-rat-0.8/LICENSE
/usr/share/doc/apache-rat-0.8/NOTICE
/usr/share/doc/apache-rat-0.8/README.txt
/usr/share/doc/apache-rat-0.8/RELEASE_NOTES.txt
/usr/share/java/apache-rat
/usr/share/java/apache-rat/apache-rat.jar
/usr/share/maven-effective-poms/JPP.apache-rat-apache-rat.pom
/usr/share/maven-fragments/apache-rat-apache-rat.xml
/usr/share/maven-poms/JPP.apache-rat-apache-rat-project.pom
/usr/share/maven-poms/JPP.apache-rat-apache-rat.pom

References

Summary

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