How To Install perl-PCP-MMV.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-PCP-MMV.x86_64 on Amazon Linux 2.
What is perl-PCP-MMV.x86_64
The PCP building scripts instrumented with the Performance Co-Pilot (PCP) Memory Mapped Value (MMV) mechanism. This mechanism allows arbitrary values to be exported from an instrumented script into the PCP infrastructure for monitoring and analysis with pmchart, pmie, pmlogger and other PCP tools.
We can use yum to install perl-PCP-MMV.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-MMV.x86_64.
Install perl-PCP-MMV.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-MMV.x86_64 using yum by running the following command:
sudo yum -y install perl-PCP-MMV.x86_64
How To Uninstall perl-PCP-MMV.x86_64 on Amazon Linux 2
To uninstall only the perl-PCP-MMV.x86_64 package we can use the following command:
sudo yum remove perl-PCP-MMV.x86_64
perl-PCP-MMV.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/perl5/vendor_perl/PCP/MMV.pm
/usr/lib64/perl5/vendor_perl/PCP/server.pl
/usr/lib64/perl5/vendor_perl/auto/PCP/MMV/MMV.so
/usr/share/man/man3/PCP::MMV.3pm.gz
References
Summary
In this tutorial we learn how to install perl-PCP-MMV.x86_64 on Amazon Linux 2 using yum.