How To Install php-pecl-uuid on Fedora 36

In this tutorial we learn how to install php-pecl-uuid in Fedora 36. php-pecl-uuid is Universally Unique Identifier extension for PHP

Introduction

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

What is php-pecl-uuid

A wrapper around Universally Unique Identifier library (libuuid).

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

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

sudo dnf -y install php-pecl-uuid

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

sudo yum -y install php-pecl-uuid

How To Uninstall php-pecl-uuid on Fedora 36

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

sudo dnf remove php-pecl-uuid

php-pecl-uuid Package Contents on Fedora 36

/etc/php-zts.d/40-uuid.ini
/etc/php.d/40-uuid.ini
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/95131936cd2878c199641ff6a3dfb67049664f
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/bb4147b517e53da5d23a35e339b303548d20b3
/usr/lib64/php-zts/modules/uuid.so
/usr/lib64/php/modules/uuid.so
/usr/share/doc/pecl/uuid
/usr/share/doc/pecl/uuid/CREDITS
/usr/share/licenses/php-pecl-uuid
/usr/share/licenses/php-pecl-uuid/LICENSE
/var/lib/php/peclxml/php-pecl-uuid.xml

References

Summary

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