How To Install php-fabiang-sasl on Debian 10

Learn how to install php-fabiang-sasl on Debian 10 with this tutorial. php-fabiang-sasl is PHP SASL2 Authentication Library

Introduction

In this tutorial we learn how to install php-fabiang-sasl on Debian 10.

What is php-fabiang-sasl

php-fabiang-sasl is:

Provides code to generate responses to common SASL mechanisms, including:

  • Digest-MD5
  • Cram-MD5
  • Plain
  • Anonymous
  • Login (Pseudo mechanism)
  • SCRAM

Full refactored version of the original Auth_SASL2 Pear package.

There are three methods to install php-fabiang-sasl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install php-fabiang-sasl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install php-fabiang-sasl using apt-get by running the following command:

sudo apt-get -y install php-fabiang-sasl

Install php-fabiang-sasl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-fabiang-sasl using apt by running the following command:

sudo apt -y install php-fabiang-sasl

Install php-fabiang-sasl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install php-fabiang-sasl using aptitude by running the following command:

sudo aptitude -y install php-fabiang-sasl

How To Uninstall php-fabiang-sasl on Debian 10

To uninstall only the php-fabiang-sasl package we can use the following command:

sudo apt-get remove php-fabiang-sasl

Uninstall php-fabiang-sasl And Its Dependencies

To uninstall php-fabiang-sasl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove php-fabiang-sasl

Remove php-fabiang-sasl Configurations and Data

To remove php-fabiang-sasl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge php-fabiang-sasl

Remove php-fabiang-sasl configuration, data, and all of its dependencies

We can use the following command to remove php-fabiang-sasl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge php-fabiang-sasl

Dependencies

php-fabiang-sasl have the following dependencies:

References

Summary

In this tutorial we learn how to install php-fabiang-sasl package on Debian 10 using different package management tools: apt, apt-get and aptitude.