How To Install apache-rat on CentOS 7

In this tutorial we learn how to install apache-rat on CentOS 7. apache-rat is Apache Release Audit Tool (RAT)

Introduction

In this tutorial we learn how to install apache-rat on CentOS 7.

What is apache-rat

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 or dnf to install apache-rat on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install apache-rat.

Install apache-rat on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install apache-rat using yum by running the following command:

sudo yum -y install apache-rat

Install apache-rat on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install apache-rat using dnf by running the following command:

sudo dnf -y install apache-rat

How To Uninstall apache-rat on CentOS 7

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

sudo dnf remove apache-rat

References

Summary

In this tutorial we learn how to install apache-rat on CentOS 7 using yum and dnf.