How To Install perl-Collectd on Fedora 36

In this tutorial we learn how to install perl-Collectd in Fedora 36. perl-Collectd is Perl bindings for collectd

Introduction

In this tutorial we learn how to install perl-Collectd on Fedora 36.

What is perl-Collectd

This package contains the Perl bindings and plugin for collectd.

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

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

sudo dnf -y install perl-Collectd

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

sudo yum -y install perl-Collectd

How To Uninstall perl-Collectd on Fedora 36

To uninstall only the perl-Collectd package we can use the following command:

sudo dnf remove perl-Collectd

perl-Collectd Package Contents on Fedora 36

/etc/collectd.d/perl.conf
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/4a7f56c3f1eaab3f78c3501b9cc6eb0bce3350
/usr/lib64/collectd/perl.so
/usr/share/doc/perl-Collectd
/usr/share/doc/perl-Collectd/ArcCounts.pm
/usr/share/doc/perl-Collectd/Common.pm
/usr/share/doc/perl-Collectd/Config.pm
/usr/share/doc/perl-Collectd/Df.pm
/usr/share/doc/perl-Collectd/GenericIO.pm
/usr/share/doc/perl-Collectd/GenericStacked.pm
/usr/share/doc/perl-Collectd/JavaMemory.pm
/usr/share/doc/perl-Collectd/Load.pm
/usr/share/doc/perl-Collectd/MyPlugin.pm
/usr/share/doc/perl-Collectd/PsCputime.pm
/usr/share/doc/perl-Collectd/TableSize.pm
/usr/share/doc/perl-Collectd/Type.pm
/usr/share/doc/perl-Collectd/TypeLoader.pm
/usr/share/doc/perl-Collectd/Wirkleistung.pm
/usr/share/doc/perl-Collectd/collectd2html.pl
/usr/share/doc/perl-Collectd/cussh.pl
/usr/share/doc/perl-Collectd/wiki2changelog.pl
/usr/share/man/man3/Collectd::Unixsock.3pm.gz
/usr/share/man/man5/collectd-perl.5.gz
/usr/share/perl5/vendor_perl/Collectd
/usr/share/perl5/vendor_perl/Collectd.pm
/usr/share/perl5/vendor_perl/Collectd/Plugins
/usr/share/perl5/vendor_perl/Collectd/Plugins/OpenVZ.pm
/usr/share/perl5/vendor_perl/Collectd/Unixsock.pm

References

Summary

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