How To Install pcp-pmda-memcache on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-memcache
on Rocky Linux 8.
What is pcp-pmda-memcache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Memcached.
We can use yum
or dnf
to install pcp-pmda-memcache
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-memcache.
Install pcp-pmda-memcache on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pcp-pmda-memcache
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-memcache
Install pcp-pmda-memcache on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pcp-pmda-memcache
using yum
by running the following command:
sudo yum -y install pcp-pmda-memcache
How To Uninstall pcp-pmda-memcache on Rocky Linux 8
To uninstall only the pcp-pmda-memcache
package we can use the following command:
sudo dnf remove pcp-pmda-memcache
pcp-pmda-memcache Package Contents on Rocky Linux 8
/usr/libexec/pcp/pmdas/memcache
/usr/libexec/pcp/pmdas/memcache/Install
/usr/libexec/pcp/pmdas/memcache/Remove
/usr/libexec/pcp/pmdas/memcache/pmdamemcache.pl
/var/lib/pcp/pmdas/memcache
/var/lib/pcp/pmdas/memcache/Install
/var/lib/pcp/pmdas/memcache/Remove
/var/lib/pcp/pmdas/memcache/pmdamemcache.pl
References
Summary
In this tutorial we learn how to install pcp-pmda-memcache
on Rocky Linux 8 using yum and dnf.