How To Install php-pecl-ds on Fedora 36

In this tutorial we learn how to install php-pecl-ds in Fedora 36. php-pecl-ds is Data Structures for PHP

Introduction

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

What is php-pecl-ds

An extension providing specialized data structures as efficient alternatives to the PHP array.

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

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

sudo dnf -y install php-pecl-ds

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

sudo yum -y install php-pecl-ds

How To Uninstall php-pecl-ds on Fedora 36

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

sudo dnf remove php-pecl-ds

php-pecl-ds Package Contents on Fedora 36

/etc/php-zts.d/40-ds.ini
/etc/php.d/40-ds.ini
/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/b444b8dede0f55986f1a56e2f83d8457b5bd3a
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/8790a263493ecffb4749adef9e3cdcf29a5d24
/usr/lib64/php-zts/modules/ds.so
/usr/lib64/php/modules/ds.so
/usr/share/licenses/php-pecl-ds
/usr/share/licenses/php-pecl-ds/LICENSE
/var/lib/php/peclxml/php-pecl-ds.xml

References

Summary

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