How To Install collectd-xencpu on Fedora 36

In this tutorial we learn how to install collectd-xencpu in Fedora 36. collectd-xencpu is xencpu plugin for collectd

Introduction

In this tutorial we learn how to install collectd-xencpu on Fedora 36.

What is collectd-xencpu

The xencpu plugin collects CPU statistics from Xen.

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

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

sudo dnf -y install collectd-xencpu

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

sudo yum -y install collectd-xencpu

How To Uninstall collectd-xencpu on Fedora 36

To uninstall only the collectd-xencpu package we can use the following command:

sudo dnf remove collectd-xencpu

collectd-xencpu Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/841a93ed9b78ad2801d676f23ba26c8e940217
/usr/lib64/collectd/xencpu.so

References

Summary

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