How To Install perl-PAR-Dist on CentOS 7

In this tutorial we learn how to install perl-PAR-Dist on CentOS 7. perl-PAR-Dist is Toolkit for creating and manipulating Perl PAR distributions

Introduction

In this tutorial we learn how to install perl-PAR-Dist on CentOS 7.

What is perl-PAR-Dist

This module creates and manipulates PAR distributions. They are architecture- specific PAR files, containing everything under blib/ of CPAN distributions after their make or Build stage, a META.yml describing metadata of the original CPAN distribution, and a MANIFEST detailing all files within it. Digitally signed PAR distributions will also contain a SIGNATURE file.

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

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

sudo yum -y install perl-PAR-Dist

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

sudo dnf -y install perl-PAR-Dist

How To Uninstall perl-PAR-Dist on CentOS 7

To uninstall only the perl-PAR-Dist package we can use the following command:

sudo dnf remove perl-PAR-Dist

References

Summary

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