How To Install php-zstd-devel on Fedora 36

In this tutorial we learn how to install php-zstd-devel in Fedora 36. php-zstd-devel is php-zstd developer files (header)

Introduction

In this tutorial we learn how to install php-zstd-devel on Fedora 36.

What is php-zstd-devel

These are the files needed to compile programs using php-zstd.

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

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

sudo dnf -y install php-zstd-devel

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

sudo yum -y install php-zstd-devel

How To Uninstall php-zstd-devel on Fedora 36

To uninstall only the php-zstd-devel package we can use the following command:

sudo dnf remove php-zstd-devel

php-zstd-devel Package Contents on Fedora 36

/usr/include/php-zts/php/ext/zstd
/usr/include/php-zts/php/ext/zstd/php_zstd.h
/usr/include/php/ext/zstd
/usr/include/php/ext/zstd/php_zstd.h
/usr/share/doc/php-zstd-devel
/usr/share/doc/php-zstd-devel/tests
/usr/share/doc/php-zstd-devel/tests/001.phpt
/usr/share/doc/php-zstd-devel/tests/002.phpt
/usr/share/doc/php-zstd-devel/tests/002_b.phpt
/usr/share/doc/php-zstd-devel/tests/003.phpt
/usr/share/doc/php-zstd-devel/tests/004.phpt
/usr/share/doc/php-zstd-devel/tests/005.phpt
/usr/share/doc/php-zstd-devel/tests/005_b.phpt
/usr/share/doc/php-zstd-devel/tests/006.phpt
/usr/share/doc/php-zstd-devel/tests/007.phpt
/usr/share/doc/php-zstd-devel/tests/008.phpt
/usr/share/doc/php-zstd-devel/tests/009.phpt
/usr/share/doc/php-zstd-devel/tests/010.phpt
/usr/share/doc/php-zstd-devel/tests/011.phpt
/usr/share/doc/php-zstd-devel/tests/alias.phpt
/usr/share/doc/php-zstd-devel/tests/apcu_serializer.phpt
/usr/share/doc/php-zstd-devel/tests/data.dic
/usr/share/doc/php-zstd-devel/tests/data.inc
/usr/share/doc/php-zstd-devel/tests/dictionary.phpt
/usr/share/doc/php-zstd-devel/tests/dictionary_01.phpt
/usr/share/doc/php-zstd-devel/tests/info.phpt
/usr/share/doc/php-zstd-devel/tests/streaming.zst
/usr/share/doc/php-zstd-devel/tests/streams_1.phpt
/usr/share/doc/php-zstd-devel/tests/streams_2.phpt
/usr/share/doc/php-zstd-devel/tests/streams_3.phpt
/usr/share/doc/php-zstd-devel/tests/streams_4.phpt
/usr/share/doc/php-zstd-devel/tests/streams_5.phpt
/usr/share/doc/php-zstd-devel/tests/streams_6.phpt
/usr/share/doc/php-zstd-devel/tests/streams_7.phpt
/usr/share/doc/php-zstd-devel/tests/streams_8.phpt

References

Summary

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