How To Install statsd on Fedora 34
Introduction
In this tutorial we learn how to install statsd
on Fedora 34.
What is statsd
A network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite).
We can use yum
or dnf
to install statsd
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install statsd.
Install statsd on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install statsd
using dnf
by running the following command:
sudo dnf -y install statsd
Install statsd on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install statsd
using yum
by running the following command:
sudo yum -y install statsd
How To Uninstall statsd on Fedora 34
To uninstall only the statsd
package we can use the following command:
sudo dnf remove statsd
statsd Package Contents on Fedora 34
/etc/statsd
/etc/statsd/config.js
/usr/bin/statsd
/usr/lib/node_modules/statsd
/usr/lib/node_modules/statsd/backends
/usr/lib/node_modules/statsd/backends/console.js
/usr/lib/node_modules/statsd/backends/graphite.js
/usr/lib/node_modules/statsd/backends/repeater.js
/usr/lib/node_modules/statsd/bin
/usr/lib/node_modules/statsd/bin/statsd
/usr/lib/node_modules/statsd/lib
/usr/lib/node_modules/statsd/lib/config.js
/usr/lib/node_modules/statsd/lib/helpers.js
/usr/lib/node_modules/statsd/lib/logger.js
/usr/lib/node_modules/statsd/lib/mgmt_console.js
/usr/lib/node_modules/statsd/lib/mgmt_server.js
/usr/lib/node_modules/statsd/lib/process_metrics.js
/usr/lib/node_modules/statsd/lib/process_mgmt.js
/usr/lib/node_modules/statsd/lib/set.js
/usr/lib/node_modules/statsd/node_modules
/usr/lib/node_modules/statsd/node_modules/generic-pool
/usr/lib/node_modules/statsd/package.json
/usr/lib/node_modules/statsd/proxy.js
/usr/lib/node_modules/statsd/servers
/usr/lib/node_modules/statsd/servers/tcp.js
/usr/lib/node_modules/statsd/servers/udp.js
/usr/lib/node_modules/statsd/stats.js
/usr/lib/node_modules/statsd/utils
/usr/lib/node_modules/statsd/utils/check_statsd.pl
/usr/lib/node_modules/statsd/utils/check_statsd_health
/usr/lib/node_modules/statsd/utils/statsd-timer-metric-counts.sh
/usr/lib/systemd/system/statsd.service
/usr/share/doc/statsd
/usr/share/doc/statsd/CONTRIBUTING.md
/usr/share/doc/statsd/Changelog.md
/usr/share/doc/statsd/README.md
/usr/share/doc/statsd/docs
/usr/share/doc/statsd/docs/additional_tools.md
/usr/share/doc/statsd/docs/admin_interface.md
/usr/share/doc/statsd/docs/backend.md
/usr/share/doc/statsd/docs/backend_interface.md
/usr/share/doc/statsd/docs/client_implementations.md
/usr/share/doc/statsd/docs/cluster_proxy.md
/usr/share/doc/statsd/docs/graphite.md
/usr/share/doc/statsd/docs/graphite_pickle.md
/usr/share/doc/statsd/docs/history.md
/usr/share/doc/statsd/docs/metric_types.md
/usr/share/doc/statsd/docs/namespacing.md
/usr/share/doc/statsd/docs/protocol.md
/usr/share/doc/statsd/docs/server.md
/usr/share/doc/statsd/docs/server_implementations.md
/usr/share/doc/statsd/docs/server_interface.md
/usr/share/doc/statsd/exampleConfig.js
/usr/share/doc/statsd/exampleProxyConfig.js
/usr/share/doc/statsd/examples
/usr/share/doc/statsd/examples/Etsy
/usr/share/doc/statsd/examples/Etsy/StatsD.pm
/usr/share/doc/statsd/examples/README.md
/usr/share/doc/statsd/examples/StatsD.scala
/usr/share/doc/statsd/examples/StatsdClient.java
/usr/share/doc/statsd/examples/StatsdClient.jl
/usr/share/doc/statsd/examples/StatsdClient.kt
/usr/share/doc/statsd/examples/csharp_example.cs
/usr/share/doc/statsd/examples/go
/usr/share/doc/statsd/examples/go/README.md
/usr/share/doc/statsd/examples/go/doc.go
/usr/share/doc/statsd/examples/go/statsd.go
/usr/share/doc/statsd/examples/perl-example.pl
/usr/share/doc/statsd/examples/php-example.php
/usr/share/doc/statsd/examples/python_example.py
/usr/share/doc/statsd/examples/ruby_example.rb
/usr/share/doc/statsd/examples/ruby_example2.rb
/usr/share/doc/statsd/examples/statsd-client.sh
/usr/share/doc/statsd/examples/statsd.clj
/usr/share/doc/statsd/examples/statsd.erl
/usr/share/licenses/statsd
/usr/share/licenses/statsd/LICENSE
References
Summary
In this tutorial we learn how to install statsd
on Fedora 34 using yum and dnf.