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

In this tutorial we learn how to install apache-rat-plugin.noarch in Amazon Linux 2. apache-rat-plugin.noarch is Maven plugin for apache-rat

Introduction

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

What is apache-rat-plugin.noarch

Maven plugin for running RAT, the Release Audit Tool.

We can use yum to install apache-rat-plugin.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-plugin.noarch.

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

sudo yum -y install apache-rat-plugin.noarch

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

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

sudo yum remove apache-rat-plugin.noarch

apache-rat-plugin.noarch Package Contents on Amazon Linux 2

/usr/share/doc/apache-rat-plugin-0.8
/usr/share/doc/apache-rat-plugin-0.8/LICENSE
/usr/share/doc/apache-rat-plugin-0.8/NOTICE
/usr/share/java/apache-rat/apache-rat-plugin.jar
/usr/share/maven-effective-poms/JPP.apache-rat-apache-rat-plugin.pom
/usr/share/maven-fragments/apache-rat-apache-rat-plugin.xml
/usr/share/maven-poms/JPP.apache-rat-apache-rat-plugin.pom

References

Summary

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