How To Install perl-PCP-PMDA.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-PCP-PMDA.x86_64 in Amazon Linux 2. perl-PCP-PMDA.x86_64 is Performance Co-Pilot (PCP) Perl bindings and documentation

Introduction

In this tutorial we learn how to install perl-PCP-PMDA.x86_64 on Amazon Linux 2.

What is perl-PCP-PMDA.x86_64

The PCP building Performance Metric Domain Agents (PMDAs) using Perl. Each PMDA exports performance data for one specific domain, for example the operating system kernel, Cisco routers, a database, an application, etc.

We can use yum to install perl-PCP-PMDA.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-PCP-PMDA.x86_64.

Install perl-PCP-PMDA.x86_64 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 perl-PCP-PMDA.x86_64 using yum by running the following command:

sudo yum -y install perl-PCP-PMDA.x86_64

How To Uninstall perl-PCP-PMDA.x86_64 on Amazon Linux 2

To uninstall only the perl-PCP-PMDA.x86_64 package we can use the following command:

sudo yum remove perl-PCP-PMDA.x86_64

perl-PCP-PMDA.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/PCP/PMDA.pm
/usr/lib64/perl5/vendor_perl/auto/PCP/PMDA/PMDA.so
/usr/share/man/man3/PCP::PMDA.3pm.gz

References

Summary

In this tutorial we learn how to install perl-PCP-PMDA.x86_64 on Amazon Linux 2 using yum.