How To Install pcp-zeroconf on Fedora 36

In this tutorial we learn how to install pcp-zeroconf in Fedora 36. pcp-zeroconf is Performance Co-Pilot (PCP) Zeroconf Package

Introduction

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

What is pcp-zeroconf

This package contains configuration tweaks and files to increase metrics gathering frequency, several extended pmlogger configurations, as well as automated pmie diagnosis, alerting and self-healing for the localhost.

We can use yum or dnf to install pcp-zeroconf on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-zeroconf.

Install pcp-zeroconf 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-zeroconf using dnf by running the following command:

sudo dnf -y install pcp-zeroconf

Install pcp-zeroconf 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-zeroconf using yum by running the following command:

sudo yum -y install pcp-zeroconf

How To Uninstall pcp-zeroconf on Fedora 36

To uninstall only the pcp-zeroconf package we can use the following command:

sudo dnf remove pcp-zeroconf

pcp-zeroconf Package Contents on Fedora 36

/etc/pcp/pmieconf/zeroconf
/etc/pcp/pmieconf/zeroconf/all_threads
/etc/pcp/pmlogconf/zeroconf
/etc/pcp/pmlogconf/zeroconf/atop-proc
/etc/pcp/pmlogconf/zeroconf/interrupts
/etc/pcp/pmlogconf/zeroconf/nfsclient
/etc/pcp/pmlogconf/zeroconf/numastat
/etc/pcp/pmlogconf/zeroconf/pidstat
/etc/pcp/pmlogconf/zeroconf/pidstat-summary
/etc/pcp/pmlogconf/zeroconf/tapestat
/etc/pcp/pmlogconf/zeroconf/xfs-perdev
/usr/lib/systemd/system/pmlogger_daily_report.service
/usr/lib/systemd/system/pmlogger_daily_report.timer
/usr/lib/tmpfiles.d/pcp-zeroconf.conf
/usr/libexec/pcp/bin/pmlogger_daily_report
/usr/share/pcp/zeroconf
/usr/share/pcp/zeroconf/pmlogger
/var/lib/pcp/config/pmieconf/zeroconf
/var/lib/pcp/config/pmieconf/zeroconf/all_threads
/var/lib/pcp/config/pmlogconf/zeroconf
/var/lib/pcp/config/pmlogconf/zeroconf/atop-proc
/var/lib/pcp/config/pmlogconf/zeroconf/interrupts
/var/lib/pcp/config/pmlogconf/zeroconf/nfsclient
/var/lib/pcp/config/pmlogconf/zeroconf/numastat
/var/lib/pcp/config/pmlogconf/zeroconf/pidstat
/var/lib/pcp/config/pmlogconf/zeroconf/pidstat-summary
/var/lib/pcp/config/pmlogconf/zeroconf/tapestat
/var/lib/pcp/config/pmlogconf/zeroconf/xfs-perdev
/var/log/pcp/sa

References

Summary

In this tutorial we learn how to install pcp-zeroconf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).