How To Install rrdtool-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rrdtool-devel.x86_64 in Amazon Linux 2. rrdtool-devel.x86_64 is RRDtool libraries and header files

Introduction

In this tutorial we learn how to install rrdtool-devel.x86_64 on Amazon Linux 2.

What is rrdtool-devel.x86_64

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). This package allow you to use directly this library.

We can use yum to install rrdtool-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rrdtool-devel.x86_64.

Install rrdtool-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rrdtool-devel.x86_64

How To Uninstall rrdtool-devel.x86_64 on Amazon Linux 2

To uninstall only the rrdtool-devel.x86_64 package we can use the following command:

sudo yum remove rrdtool-devel.x86_64

rrdtool-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/rrd.h
/usr/include/rrd_client.h
/usr/include/rrd_format.h
/usr/lib64/librrd.so
/usr/lib64/librrd_th.so
/usr/lib64/pkgconfig/librrd.pc

References

Summary

In this tutorial we learn how to install rrdtool-devel.x86_64 on Amazon Linux 2 using yum.