How To Install rrdtool on CentOS 7

In this tutorial we learn how to install rrdtool on CentOS 7. rrdtool is Round Robin Database Tool to store and display time-series data

Introduction

In this tutorial we learn how to install rrdtool on CentOS 7.

What is rrdtool

RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it presents useful graphs by processing the data to enforce a certain data density. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it. RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it presents useful graphs by processing the data to enforce a certain data density. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it.

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

Install rrdtool on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rrdtool using yum by running the following command:

sudo yum -y install rrdtool

Install rrdtool on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rrdtool using dnf by running the following command:

sudo dnf -y install rrdtool

How To Uninstall rrdtool on CentOS 7

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

sudo dnf remove rrdtool

References

Summary

In this tutorial we learn how to install rrdtool on CentOS 7 using yum and dnf.