How To Install pcp-pmda-memcache on Fedora 36

In this tutorial we learn how to install pcp-pmda-memcache in Fedora 36. pcp-pmda-memcache is Performance Co-Pilot (PCP) metrics for Memcached

Introduction

In this tutorial we learn how to install pcp-pmda-memcache on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/tmpfiles.d/pcp-pmda-memcache.conf
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).