How To Install pcp-conf on Rocky Linux 8

In this tutorial we learn how to install pcp-conf on Rocky Linux 8. pcp-conf is Performance Co-Pilot run-time configuration

Introduction

In this tutorial we learn how to install pcp-conf on Rocky Linux 8.

What is pcp-conf

Performance Co-Pilot (PCP) run-time configuration

We can use yum or dnf to install pcp-conf on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pcp-conf.

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

sudo dnf -y install pcp-conf

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

sudo yum -y install pcp-conf

How To Uninstall pcp-conf on Rocky Linux 8

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

sudo dnf remove pcp-conf

pcp-conf Package Contents on Rocky Linux 8

/etc/pcp.conf
/etc/pcp/derived
/etc/pcp/derived/cpu-util.conf
/etc/pcp/derived/iostat.conf
/etc/pcp/derived/mssql.conf
/etc/pcp/derived/proc.conf
/usr/include/pcp
/usr/include/pcp/builddefs
/usr/include/pcp/buildrules
/var/lib/pcp/config/derived
/var/lib/pcp/config/derived/cpu-util.conf
/var/lib/pcp/config/derived/iostat.conf
/var/lib/pcp/config/derived/mssql.conf
/var/lib/pcp/config/derived/proc.conf

References

Summary

In this tutorial we learn how to install pcp-conf on Rocky Linux 8 using yum and dnf.