How To Install pcp-pmda-nvidia-gpu on Fedora 36

In this tutorial we learn how to install pcp-pmda-nvidia-gpu in Fedora 36. pcp-pmda-nvidia-gpu is Performance Co-Pilot (PCP) metrics for the Nvidia GPU

Introduction

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

What is pcp-pmda-nvidia-gpu

This package contains the PCP Performance Metrics Domain Agent (PMDA) for collecting metrics about Nvidia GPUs.

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

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

sudo dnf -y install pcp-pmda-nvidia-gpu

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

sudo yum -y install pcp-pmda-nvidia-gpu

How To Uninstall pcp-pmda-nvidia-gpu on Fedora 36

To uninstall only the pcp-pmda-nvidia-gpu package we can use the following command:

sudo dnf remove pcp-pmda-nvidia-gpu

pcp-pmda-nvidia-gpu Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/1c294512dbbdfc3bac5b99c30aa20be2877955
/usr/lib/.build-id/f1/191628cffa38a08af7c709ce1441b6075ae3d4
/usr/lib/tmpfiles.d/pcp-pmda-nvidia.conf
/usr/libexec/pcp/pmdas/nvidia
/usr/libexec/pcp/pmdas/nvidia/Install
/usr/libexec/pcp/pmdas/nvidia/README
/usr/libexec/pcp/pmdas/nvidia/Remove
/usr/libexec/pcp/pmdas/nvidia/domain.h
/usr/libexec/pcp/pmdas/nvidia/help
/usr/libexec/pcp/pmdas/nvidia/pmda_nvidia.so
/usr/libexec/pcp/pmdas/nvidia/pmdanvidia
/usr/libexec/pcp/pmdas/nvidia/pmns
/usr/libexec/pcp/pmdas/nvidia/root
/var/lib/pcp/pmdas/nvidia
/var/lib/pcp/pmdas/nvidia/Install
/var/lib/pcp/pmdas/nvidia/README
/var/lib/pcp/pmdas/nvidia/Remove
/var/lib/pcp/pmdas/nvidia/domain.h
/var/lib/pcp/pmdas/nvidia/help
/var/lib/pcp/pmdas/nvidia/pmda_nvidia.so
/var/lib/pcp/pmdas/nvidia/pmdanvidia
/var/lib/pcp/pmdas/nvidia/pmns
/var/lib/pcp/pmdas/nvidia/root

References

Summary

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