How To Install php-pecl-krb5 on Fedora 36

In this tutorial we learn how to install php-pecl-krb5 in Fedora 36. php-pecl-krb5 is Kerberos authentification extension

Introduction

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

What is php-pecl-krb5

Features + An interface for maintaining credential caches (KRB5CCache), that can be used for authenticating against a kerberos5 realm + Bindings for nearly the complete GSSAPI (RFC2744) + The administrative interface (KADM5) + Support for HTTP Negotiate authentication via GSSAPI

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

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

sudo dnf -y install php-pecl-krb5

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

sudo yum -y install php-pecl-krb5

How To Uninstall php-pecl-krb5 on Fedora 36

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

sudo dnf remove php-pecl-krb5

php-pecl-krb5 Package Contents on Fedora 36

/etc/php-zts.d/40-krb5.ini
/etc/php.d/40-krb5.ini
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/b01f40eb64f9abde1b961d2ed5e6bd38042494
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/cd04bed7808eac2e1a4135fa16dc9c778ea0e1
/usr/lib64/php-zts/modules/krb5.so
/usr/lib64/php/modules/krb5.so
/usr/share/doc/pecl/krb5
/usr/share/doc/pecl/krb5/CREDITS
/usr/share/doc/pecl/krb5/INSTALL
/usr/share/doc/pecl/krb5/LICENSE
/usr/share/doc/pecl/krb5/README
/usr/share/doc/pecl/krb5/examples
/usr/share/doc/pecl/krb5/examples/kadm
/usr/share/doc/pecl/krb5/examples/kadm/ex1.php
/usr/share/doc/pecl/krb5/examples/kadm/ex2.php
/usr/share/doc/pecl/krb5/examples/kadm/ex3.php
/usr/share/doc/pecl/krb5/examples/kadm/ex4.php
/usr/share/doc/pecl/krb5/examples/kadm/ex5.php
/usr/share/doc/pecl/krb5/examples/kadm/ex6.php
/usr/share/doc/pecl/krb5/examples/kadm/ex7.php
/usr/share/doc/pecl/krb5/examples/kadm/ex8.php
/usr/share/doc/pecl/krb5/examples/kadm/ex9.php
/usr/share/doc/pecl/krb5/examples/spnego.php
/var/lib/php/peclxml/php-pecl-krb5.xml

References

Summary

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