How To Install php-zstd on Fedora 36
Introduction
In this tutorial we learn how to install php-zstd
on Fedora 36.
What is php-zstd
PHP extension for compression and decompression with Zstandard library.
We can use yum
or dnf
to install php-zstd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-zstd.
Install php-zstd 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-zstd
using dnf
by running the following command:
sudo dnf -y install php-zstd
Install php-zstd 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-zstd
using yum
by running the following command:
sudo yum -y install php-zstd
How To Uninstall php-zstd on Fedora 36
To uninstall only the php-zstd
package we can use the following command:
sudo dnf remove php-zstd
php-zstd Package Contents on Fedora 36
/etc/php-zts.d/40-zstd.ini
/etc/php.d/40-zstd.ini
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/6d33ce6d5d1eb45bb96be49a1f372aedf3d0bf
/usr/lib/.build-id/95
/usr/lib/.build-id/95/5f59a117b1204a9ef0e9f0ca35af1b9567a2b8
/usr/lib64/php-zts/modules/zstd.so
/usr/lib64/php/modules/zstd.so
/usr/share/doc/pecl/zstd
/usr/share/doc/pecl/zstd/README.md
/usr/share/licenses/php-zstd
/usr/share/licenses/php-zstd/LICENSE
/var/lib/php/peclxml/php-zstd.xml
References
Summary
In this tutorial we learn how to install php-zstd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).