How To Install pcp-pmda-redis on Fedora 36
Introduction
In this tutorial we learn how to install pcp-pmda-redis
on Fedora 36.
What is pcp-pmda-redis
This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics from Redis servers (redis.io).
We can use yum
or dnf
to install pcp-pmda-redis
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-pmda-redis.
Install pcp-pmda-redis 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-redis
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-redis
Install pcp-pmda-redis 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-redis
using yum
by running the following command:
sudo yum -y install pcp-pmda-redis
How To Uninstall pcp-pmda-redis on Fedora 36
To uninstall only the pcp-pmda-redis
package we can use the following command:
sudo dnf remove pcp-pmda-redis
pcp-pmda-redis Package Contents on Fedora 36
/etc/pcp/redis
/etc/pcp/redis/redis.conf
/usr/lib/tmpfiles.d/pcp-pmda-redis.conf
/usr/libexec/pcp/pmdas/redis
/usr/libexec/pcp/pmdas/redis/Install
/usr/libexec/pcp/pmdas/redis/Remove
/usr/libexec/pcp/pmdas/redis/pmdaredis.pl
/var/lib/pcp/pmdas/redis
/var/lib/pcp/pmdas/redis/Install
/var/lib/pcp/pmdas/redis/Remove
/var/lib/pcp/pmdas/redis/pmdaredis.pl
/var/lib/pcp/pmdas/redis/redis.conf
References
Summary
In this tutorial we learn how to install pcp-pmda-redis
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).