How To Install statsd-perl on Fedora 36

In this tutorial we learn how to install statsd-perl in Fedora 36. statsd-perl is A Perl port of Flickr/Etsy’s statsd metrics daemon

Introduction

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

What is statsd-perl

Implements a daemon that listens on a given host/port for incoming UDP packets and dispatches them to whatever you want, including Graphite or your console. Look into the Net possibilities, or write a back-end yourself.

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

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

sudo dnf -y install statsd-perl

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

sudo yum -y install statsd-perl

How To Uninstall statsd-perl on Fedora 36

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

sudo dnf remove statsd-perl

statsd-perl Package Contents on Fedora 36

/etc/logrotate.d/statsd-perl
/etc/statsd-perl.js
/usr/bin/statsd-perl
/usr/lib/systemd/system/statsd-perl.service
/usr/share/doc/statsd-perl
/usr/share/doc/statsd-perl/README
/usr/share/doc/statsd-perl/exampleConfig.js
/usr/share/doc/statsd-perl/localConfig.js
/usr/share/doc/statsd-perl/logConfig.js
/usr/share/doc/statsd-perl/rrdConfig.js
/usr/share/man/man1/statsd-perl.1.gz
/var/log/statsd-perl

References

Summary

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