How To Install ongres-scram on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install ongres-scram on Rocky Linux 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 Rocky Linux 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 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 ongres-scram using dnf by running the following command:

sudo dnf -y install ongres-scram

Install ongres-scram 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 ongres-scram using yum by running the following command:

sudo yum -y install ongres-scram

How To Uninstall ongres-scram on Rocky Linux 8

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

sudo dnf remove ongres-scram

ongres-scram Package Contents on Rocky Linux 8

/usr/share/java/ongres-scram
/usr/share/java/ongres-scram/common.jar
/usr/share/licenses/ongres-scram
/usr/share/licenses/ongres-scram/LICENSE
/usr/share/maven-metadata/ongres-scram-common.xml
/usr/share/maven-poms/ongres-scram
/usr/share/maven-poms/ongres-scram/common.pom

References

Summary

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