How To Install rubygem-net-ldap on AlmaLinux 8

In this tutorial we learn how to install rubygem-net-ldap in AlmaLinux 8. rubygem-net-ldap is Net

Introduction

In this tutorial we learn how to install rubygem-net-ldap on AlmaLinux 8.

What is rubygem-net-ldap

Net Lightweight Directory Access Protocol (LDAP), an IETF standard protocol for accessing distributed directory services. Net Ruby with no external dependencies. It supports most LDAP client features and a subset of server features as well. Net OpenLDAP and Active Directory. The current release is mostly compliant with earlier versions of the IETF LDAP RFCs (2251–2256, 2829–2830, 3377, and 3771). Our roadmap for Net the most recent LDAP RFCs (4510–4519, plus portions of 4520–4532).

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

Install rubygem-net-ldap 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 rubygem-net-ldap using dnf by running the following command:

sudo dnf -y install rubygem-net-ldap

Install rubygem-net-ldap 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 rubygem-net-ldap using yum by running the following command:

sudo yum -y install rubygem-net-ldap

How To Uninstall rubygem-net-ldap on AlmaLinux 8

To uninstall only the rubygem-net-ldap package we can use the following command:

sudo dnf remove rubygem-net-ldap

References

Summary

In this tutorial we learn how to install rubygem-net-ldap on AlmaLinux 8 using yum and dnf.