How To Install pcp-pmda-nvidia-gpu on Rocky Linux 8
Introduction
In this tutorial we learn how to install pcp-pmda-nvidia-gpu
on Rocky Linux 8.
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 Rocky Linux 8. 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 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-pmda-nvidia-gpu
using dnf
by running the following command:
sudo dnf -y install pcp-pmda-nvidia-gpu
Install pcp-pmda-nvidia-gpu 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-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 Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/d9/f29cacdfe62a14cc1a8b400577c13bedd7d873
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/c59e984370500684890269a4ebe14de01e6330
/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 Rocky Linux 8 using yum and dnf.