How To Install php-pear-Crypt-CHAP on Fedora 36

In this tutorial we learn how to install php-pear-Crypt-CHAP in Fedora 36. php-pear-Crypt-CHAP is Class to generate CHAP packets

Introduction

In this tutorial we learn how to install php-pear-Crypt-CHAP on Fedora 36.

What is php-pear-Crypt-CHAP

This package provides Classes for generating CHAP packets. Currently these types of CHAP are supported - CHAP-MD5, - MS-CHAPv1, - MS-CHAPv2.

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

Install php-pear-Crypt-CHAP 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-pear-Crypt-CHAP using dnf by running the following command:

sudo dnf -y install php-pear-Crypt-CHAP

Install php-pear-Crypt-CHAP 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-pear-Crypt-CHAP using yum by running the following command:

sudo yum -y install php-pear-Crypt-CHAP

How To Uninstall php-pear-Crypt-CHAP on Fedora 36

To uninstall only the php-pear-Crypt-CHAP package we can use the following command:

sudo dnf remove php-pear-Crypt-CHAP

php-pear-Crypt-CHAP Package Contents on Fedora 36

/usr/share/pear/Crypt
/usr/share/pear/Crypt/CHAP.php
/usr/share/tests/pear/Crypt_CHAP
/usr/share/tests/pear/Crypt_CHAP/tests
/usr/share/tests/pear/Crypt_CHAP/tests/Crypt_CHAP.phpt
/var/lib/pear/pkgxml/php-pear-Crypt-CHAP.xml

References

Summary

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