How To Install perl-CPAN-Changes on CentOS 7

In this tutorial we learn how to install perl-CPAN-Changes on CentOS 7. perl-CPAN-Changes is Read and write Changes files

Introduction

In this tutorial we learn how to install perl-CPAN-Changes on CentOS 7.

What is perl-CPAN-Changes

It is standard practice to include a Changes file in your distribution. The purpose of the Changes file is to help a user figure out what has changed since the last release. People have devised many ways to write the Changes file. A preliminary specification has been created (CPAN to encourage module authors to write clear and concise Changes. This module will help users programmatically read and write Changes files that conform to the specification.

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

Install perl-CPAN-Changes 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-CPAN-Changes using yum by running the following command:

sudo yum -y install perl-CPAN-Changes

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

sudo dnf -y install perl-CPAN-Changes

How To Uninstall perl-CPAN-Changes on CentOS 7

To uninstall only the perl-CPAN-Changes package we can use the following command:

sudo dnf remove perl-CPAN-Changes

References

Summary

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