How To Install rrdtool-ruby on Fedora 36

In this tutorial we learn how to install rrdtool-ruby in Fedora 36. rrdtool-ruby is Ruby RRDtool bindings

Introduction

In this tutorial we learn how to install rrdtool-ruby on Fedora 36.

What is rrdtool-ruby

The rrdtool-ruby package includes RRDtool bindings for Ruby.

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

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

sudo dnf -y install rrdtool-ruby

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

sudo yum -y install rrdtool-ruby

How To Uninstall rrdtool-ruby on Fedora 36

To uninstall only the rrdtool-ruby package we can use the following command:

sudo dnf remove rrdtool-ruby

rrdtool-ruby Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/ecdf75c9a0255eed89cc11f14a023b434b954d
/usr/lib64/ruby/vendor_ruby/RRD.so
/usr/share/doc/rrdtool-ruby
/usr/share/doc/rrdtool-ruby/README

References

Summary

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