How To Install rrdtool on CentOS 8

rrdtool is Round Robin Database Tool to store and display time-series data Round Robin Database Tool to store and display time-series data

Introduction

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

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. rrdtool 1.7.0 16.el8 x86_64 525 k rrdtool-1.7.0-16.el8.src.rpm appstream Round Robin Database Tool to store and display time-series data http GPLv2+ with exceptions 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 8. In this tutorial we discuss both methods but you only need to choose one of method to install rrdtool.

Install rrdtool on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install rrdtool

Install rrdtool on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install rrdtool

How To Uninstall rrdtool on CentOS 8

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

sudo dnf remove rrdtool

rrdtool Package Contents on CentOS 8

/usr/bin/rrdcached
/usr/bin/rrdcgi
/usr/bin/rrdcreate
/usr/bin/rrdinfo
/usr/bin/rrdtool
/usr/bin/rrdupdate
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/30665c389a16949f2d37d70446e89fbb2703b1
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/83bd53786282ffb0b32560e99c7a740591d71d
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/3d2de871a8e03fdbee40cb3fd4b7a4585debd2
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/ccf19f83dde3197062a0bea3ff8039b0ab9f01
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/e3ea5fa2a7417ac3dd23503d3ea05126954a8a
/usr/lib/librrd.so.8
/usr/lib/librrd.so.8.1.0
/usr/lib/systemd/system/rrdcached.service
/usr/lib/systemd/system/rrdcached.socket
/usr/share/doc/rrdtool
/usr/share/doc/rrdtool/CHANGES
/usr/share/doc/rrdtool/CONTRIBUTORS
/usr/share/doc/rrdtool/COPYRIGHT
/usr/share/doc/rrdtool/NEWS
/usr/share/doc/rrdtool/THREADS
/usr/share/doc/rrdtool/TODO
/usr/share/licenses/rrdtool
/usr/share/licenses/rrdtool/LICENSE
/usr/share/locale/hu/LC_MESSAGES/rrdtool.mo
/usr/share/man/man1/bin_dec_hex.1.gz
/usr/share/man/man1/cdeftutorial.1.gz
/usr/share/man/man1/rpntutorial.1.gz
/usr/share/man/man1/rrd-beginners.1.gz
/usr/share/man/man1/rrdbuild.1.gz
/usr/share/man/man1/rrdcached.1.gz
/usr/share/man/man1/rrdcgi.1.gz
/usr/share/man/man1/rrdcreate.1.gz
/usr/share/man/man1/rrddump.1.gz
/usr/share/man/man1/rrdfetch.1.gz
/usr/share/man/man1/rrdfirst.1.gz
/usr/share/man/man1/rrdflushcached.1.gz
/usr/share/man/man1/rrdgraph.1.gz
/usr/share/man/man1/rrdgraph_data.1.gz
/usr/share/man/man1/rrdgraph_examples.1.gz
/usr/share/man/man1/rrdgraph_graph.1.gz
/usr/share/man/man1/rrdgraph_rpn.1.gz
/usr/share/man/man1/rrdinfo.1.gz
/usr/share/man/man1/rrdlast.1.gz
/usr/share/man/man1/rrdlastupdate.1.gz
/usr/share/man/man1/rrdlist.1.gz
/usr/share/man/man1/rrdlua.1.gz
/usr/share/man/man1/rrdresize.1.gz
/usr/share/man/man1/rrdrestore.1.gz
/usr/share/man/man1/rrdthreads.1.gz
/usr/share/man/man1/rrdtool.1.gz
/usr/share/man/man1/rrdtune.1.gz
/usr/share/man/man1/rrdtutorial.1.gz
/usr/share/man/man1/rrdupdate.1.gz
/usr/share/man/man1/rrdxport.1.gz
/usr/share/rrdtool
/usr/bin/rrdcached
/usr/bin/rrdcgi
/usr/bin/rrdcreate
/usr/bin/rrdinfo
/usr/bin/rrdtool
/usr/bin/rrdupdate
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/d43b2a42210de1ffde9375991b8449208ddfa2
/usr/lib/.build-id/17
/usr/lib/.build-id/17/d9ae785cb80073b090b8c4fd1e544bf6bc793d
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/a390ec7fa60d1d17f3dcc1fd80fc479d7a274c
/usr/lib/.build-id/34
/usr/lib/.build-id/34/d8ae26f5905be7491f572eb7cfa3e2e26c4f8a
/usr/lib/.build-id/57
/usr/lib/.build-id/57/2dc938fd3690900c794fc949045d9020e0dc1d
/usr/lib/systemd/system/rrdcached.service
/usr/lib/systemd/system/rrdcached.socket
/usr/lib64/librrd.so.8
/usr/lib64/librrd.so.8.1.0
/usr/share/doc/rrdtool
/usr/share/doc/rrdtool/CHANGES
/usr/share/doc/rrdtool/CONTRIBUTORS
/usr/share/doc/rrdtool/COPYRIGHT
/usr/share/doc/rrdtool/NEWS
/usr/share/doc/rrdtool/THREADS
/usr/share/doc/rrdtool/TODO
/usr/share/licenses/rrdtool
/usr/share/licenses/rrdtool/LICENSE
/usr/share/locale/hu/LC_MESSAGES/rrdtool.mo
/usr/share/man/man1/bin_dec_hex.1.gz
/usr/share/man/man1/cdeftutorial.1.gz
/usr/share/man/man1/rpntutorial.1.gz
/usr/share/man/man1/rrd-beginners.1.gz
/usr/share/man/man1/rrdbuild.1.gz
/usr/share/man/man1/rrdcached.1.gz
/usr/share/man/man1/rrdcgi.1.gz
/usr/share/man/man1/rrdcreate.1.gz
/usr/share/man/man1/rrddump.1.gz
/usr/share/man/man1/rrdfetch.1.gz
/usr/share/man/man1/rrdfirst.1.gz
/usr/share/man/man1/rrdflushcached.1.gz
/usr/share/man/man1/rrdgraph.1.gz
/usr/share/man/man1/rrdgraph_data.1.gz
/usr/share/man/man1/rrdgraph_examples.1.gz
/usr/share/man/man1/rrdgraph_graph.1.gz
/usr/share/man/man1/rrdgraph_rpn.1.gz
/usr/share/man/man1/rrdinfo.1.gz
/usr/share/man/man1/rrdlast.1.gz
/usr/share/man/man1/rrdlastupdate.1.gz
/usr/share/man/man1/rrdlist.1.gz
/usr/share/man/man1/rrdlua.1.gz
/usr/share/man/man1/rrdresize.1.gz
/usr/share/man/man1/rrdrestore.1.gz
/usr/share/man/man1/rrdthreads.1.gz
/usr/share/man/man1/rrdtool.1.gz
/usr/share/man/man1/rrdtune.1.gz
/usr/share/man/man1/rrdtutorial.1.gz
/usr/share/man/man1/rrdupdate.1.gz
/usr/share/man/man1/rrdxport.1.gz
/usr/share/rrdtool

References

Summary

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