How To Install python3-rrdtool on Rocky Linux 8

In this tutorial we learn how to install python3-rrdtool on Rocky Linux 8. python3-rrdtool is Python RRDtool bindings

Introduction

In this tutorial we learn how to install python3-rrdtool on Rocky Linux 8.

What is python3-rrdtool

Python RRDtool bindings.

We can use yum or dnf to install python3-rrdtool on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rrdtool.

Install python3-rrdtool on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-rrdtool

Install python3-rrdtool on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-rrdtool

How To Uninstall python3-rrdtool on Rocky Linux 8

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

sudo dnf remove python3-rrdtool

python3-rrdtool Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/72bc0786bb5cedc4a4a18902de5c3ef40b017d
/usr/lib64/python3.6/site-packages/rrdtool-0.1.10-py3.6.egg-info
/usr/lib64/python3.6/site-packages/rrdtool-0.1.10-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/rrdtool-0.1.10-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/rrdtool-0.1.10-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/rrdtool-0.1.10-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/rrdtool.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-rrdtool
/usr/share/doc/python3-rrdtool/COPYING
/usr/share/doc/python3-rrdtool/README.md

References

Summary

In this tutorial we learn how to install python3-rrdtool on Rocky Linux 8 using yum and dnf.