How To Install collectd-nut on Fedora 36

In this tutorial we learn how to install collectd-nut in Fedora 36. collectd-nut is Network UPS Tools plugin for collectd

Introduction

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

What is collectd-nut

This plugin for collectd provides Network UPS Tools support.

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

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

sudo dnf -y install collectd-nut

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

sudo yum -y install collectd-nut

How To Uninstall collectd-nut on Fedora 36

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

sudo dnf remove collectd-nut

collectd-nut Package Contents on Fedora 36

/etc/collectd.d/nut.conf
/usr/lib/.build-id
/usr/lib/.build-id/97/36b18ea1b9ac148ac2e3c5580d07e2d1aadfcc
/usr/lib64/collectd/nut.so

References

Summary

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