How To Install php-pecl-rrd on Fedora 36

In this tutorial we learn how to install php-pecl-rrd in Fedora 36. php-pecl-rrd is PHP Bindings for rrdtool

Introduction

In this tutorial we learn how to install php-pecl-rrd on Fedora 36.

What is php-pecl-rrd

Procedural and simple OO wrapper for rrdtool - data logging and graphing system for time series data.

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

Install php-pecl-rrd 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 php-pecl-rrd using dnf by running the following command:

sudo dnf -y install php-pecl-rrd

Install php-pecl-rrd 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 php-pecl-rrd using yum by running the following command:

sudo yum -y install php-pecl-rrd

How To Uninstall php-pecl-rrd on Fedora 36

To uninstall only the php-pecl-rrd package we can use the following command:

sudo dnf remove php-pecl-rrd

php-pecl-rrd Package Contents on Fedora 36

/etc/php-zts.d/40-rrd.ini
/etc/php.d/40-rrd.ini
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/916d64fab172bee571ff7d3cb59f6f61e30061
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/a803783b097626e8b967297c220d01acc9b98e
/usr/lib64/php-zts/modules/rrd.so
/usr/lib64/php/modules/rrd.so
/usr/share/doc/pecl/rrd
/usr/share/doc/pecl/rrd/CREDITS
/usr/share/licenses/php-pecl-rrd
/usr/share/licenses/php-pecl-rrd/LICENSE
/var/lib/php/peclxml/php-pecl-rrd.xml

References

Summary

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