How To Install ongres-scram on AlmaLinux 8

In this tutorial we learn how to install ongres-scram in AlmaLinux 8. ongres-scram is Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation

Introduction

In this tutorial we learn how to install ongres-scram on AlmaLinux 8.

What is ongres-scram

This is a Java implementation of SCRAM (Salted Challenge Response Authentication Mechanism) which is part of the family of Simple Authentication and Security Layer (SASL, RFC 4422) authentication mechanisms. It is described as part of RFC 5802 and RFC7677.

We can use yum or dnf to install ongres-scram on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ongres-scram.

Install ongres-scram on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ongres-scram using dnf by running the following command:

sudo dnf -y install ongres-scram

Install ongres-scram on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ongres-scram using yum by running the following command:

sudo yum -y install ongres-scram

How To Uninstall ongres-scram on AlmaLinux 8

To uninstall only the ongres-scram package we can use the following command:

sudo dnf remove ongres-scram

References

Summary

In this tutorial we learn how to install ongres-scram on AlmaLinux 8 using yum and dnf.