How To Install php-pecl-krb5-devel on Fedora 36

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

Introduction

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

What is php-pecl-krb5-devel

These are the files needed to compile programs using the Kerberos extension.

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

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

sudo dnf -y install php-pecl-krb5-devel

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

sudo yum -y install php-pecl-krb5-devel

How To Uninstall php-pecl-krb5-devel on Fedora 36

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

sudo dnf remove php-pecl-krb5-devel

php-pecl-krb5-devel Package Contents on Fedora 36

/usr/include/php-zts/php/ext/krb5
/usr/include/php-zts/php/ext/krb5/php_krb5.h
/usr/include/php-zts/php/ext/krb5/php_krb5_compat.h
/usr/include/php-zts/php/ext/krb5/php_krb5_gssapi.h
/usr/include/php/ext/krb5
/usr/include/php/ext/krb5/php_krb5.h
/usr/include/php/ext/krb5/php_krb5_compat.h
/usr/include/php/ext/krb5/php_krb5_gssapi.h
/usr/share/tests/pecl/krb5
/usr/share/tests/pecl/krb5/tests
/usr/share/tests/pecl/krb5/tests/001.phpt
/usr/share/tests/pecl/krb5/tests/002.phpt
/usr/share/tests/pecl/krb5/tests/003.phpt
/usr/share/tests/pecl/krb5/tests/004.phpt
/usr/share/tests/pecl/krb5/tests/005.phpt
/usr/share/tests/pecl/krb5/tests/config.php.dist

References

Summary

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