How To Install php-pear-Auth-SASL on Rocky Linux 8

In this tutorial we learn how to install php-pear-Auth-SASL on Rocky Linux 8. php-pear-Auth-SASL is Abstraction of various SASL mechanism responses

Introduction

In this tutorial we learn how to install php-pear-Auth-SASL on Rocky Linux 8.

What is php-pear-Auth-SASL

Provides code to generate responses to common SASL mechanisms, including o Digest-MD5 o CramMD5 o Plain o Anonymous o Login (Pseudo mechanism)

We can use yum or dnf to install php-pear-Auth-SASL on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-Auth-SASL.

Install php-pear-Auth-SASL on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-pear-Auth-SASL using dnf by running the following command:

sudo dnf -y install php-pear-Auth-SASL

Install php-pear-Auth-SASL on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-pear-Auth-SASL using yum by running the following command:

sudo yum -y install php-pear-Auth-SASL

How To Uninstall php-pear-Auth-SASL on Rocky Linux 8

To uninstall only the php-pear-Auth-SASL package we can use the following command:

sudo dnf remove php-pear-Auth-SASL

php-pear-Auth-SASL Package Contents on Rocky Linux 8

/usr/share/pear/Auth
/usr/share/pear/Auth/SASL
/usr/share/pear/Auth/SASL.php
/usr/share/pear/Auth/SASL/Anonymous.php
/usr/share/pear/Auth/SASL/Common.php
/usr/share/pear/Auth/SASL/CramMD5.php
/usr/share/pear/Auth/SASL/DigestMD5.php
/usr/share/pear/Auth/SASL/External.php
/usr/share/pear/Auth/SASL/Login.php
/usr/share/pear/Auth/SASL/Plain.php
/usr/share/pear/Auth/SASL/SCRAM.php
/var/lib/pear/pkgxml/php-pear-Auth-SASL.xml

References

Summary

In this tutorial we learn how to install php-pear-Auth-SASL on Rocky Linux 8 using yum and dnf.