How To Install php-pecl-xattr on Fedora 36

In this tutorial we learn how to install php-pecl-xattr in Fedora 36. php-pecl-xattr is Extended attributes

Introduction

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

What is php-pecl-xattr

This package allows to manipulate extended attributes on filesystems that support them.

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

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

sudo dnf -y install php-pecl-xattr

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

sudo yum -y install php-pecl-xattr

How To Uninstall php-pecl-xattr on Fedora 36

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

sudo dnf remove php-pecl-xattr

php-pecl-xattr Package Contents on Fedora 36

/etc/php-zts.d/40-xattr.ini
/etc/php.d/40-xattr.ini
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/6ebf515f5a31714d5b34ee47d16ed7f550a223
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/131f9d7aaec5d4274c61565f5913409249f511
/usr/lib64/php-zts/modules/xattr.so
/usr/lib64/php/modules/xattr.so
/usr/share/doc/pecl/xattr
/usr/share/doc/pecl/xattr/CREDITS
/usr/share/licenses/php-pecl-xattr
/usr/share/licenses/php-pecl-xattr/LICENSE
/var/lib/php/peclxml/php-pecl-xattr.xml

References

Summary

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