How To Install perl-Test-CheckChanges on CentOS 7

In this tutorial we learn how to install perl-Test-CheckChanges on CentOS 7. perl-Test-CheckChanges is Check that the Changes file matches the distribution

Introduction

In this tutorial we learn how to install perl-Test-CheckChanges on CentOS 7.

What is perl-Test-CheckChanges

This module checks that your Changes file has an entry for the current version of the Module being tested. The version information for the distribution being tested is taken out of the Build data, or if that is not found, out of the Makefile. It then attempts to open, in order, a file with the name Changes or CHANGES. The Changes file is then parsed for version numbers. If one and only one of the version numbers matches, the test passes; otherwise the test fails. A message with the current version is printed if the test passes; otherwise diagnostic messages are printed to help explain the failure.

We can use yum or dnf to install perl-Test-CheckChanges on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-CheckChanges.

Install perl-Test-CheckChanges on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Test-CheckChanges using yum by running the following command:

sudo yum -y install perl-Test-CheckChanges

Install perl-Test-CheckChanges 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 perl-Test-CheckChanges using dnf by running the following command:

sudo dnf -y install perl-Test-CheckChanges

How To Uninstall perl-Test-CheckChanges on CentOS 7

To uninstall only the perl-Test-CheckChanges package we can use the following command:

sudo dnf remove perl-Test-CheckChanges

References

Summary

In this tutorial we learn how to install perl-Test-CheckChanges on CentOS 7 using yum and dnf.