How To Install openldap-clients on Rocky Linux 8

In this tutorial we learn how to install openldap-clients on Rocky Linux 8. openldap-clients is LDAP client utilities

Introduction

In this tutorial we learn how to install openldap-clients on Rocky Linux 8.

What is openldap-clients

OpenLDAP is an open-source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. LDAP is a set of protocols for accessing directory services (usually phone book style information, but other information is possible) over the Internet, similar to the way DNS (Domain Name System) information is propagated over the Internet. The openldap-clients package contains the client programs needed for accessing and modifying OpenLDAP directories.

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

Install openldap-clients 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 openldap-clients using dnf by running the following command:

sudo dnf -y install openldap-clients

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

sudo yum -y install openldap-clients

How To Uninstall openldap-clients on Rocky Linux 8

To uninstall only the openldap-clients package we can use the following command:

sudo dnf remove openldap-clients

openldap-clients Package Contents on Rocky Linux 8

/usr/bin/ldapadd
/usr/bin/ldapcompare
/usr/bin/ldapdelete
/usr/bin/ldapexop
/usr/bin/ldapmodify
/usr/bin/ldapmodrdn
/usr/bin/ldappasswd
/usr/bin/ldapsearch
/usr/bin/ldapurl
/usr/bin/ldapwhoami
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/de167264134c5c2f2cab6ded36e1504b7d610b
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/ac1b6976f4c4e0d6236bca54388d32cdd14d89
/usr/lib/.build-id/24
/usr/lib/.build-id/24/afe03bdf00a2ba42c312dfc0ff454c00b0b56e
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/25cccad6099ade47dd3b2592dd9e4f1f246ef4
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/feea3af73ea6be648c940a35bead01a3bdcaec
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/a65e6282b9a21f2c31fc097e11ede1d4ef585a
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/2bcd604c6eb02cd90e4651e166b8ce63f43370
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/678d0a58eca3a75bb9034ea468014a9ba1f11b
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/b383653fb0398f9eecc19ce7a778ec5abc3751
/usr/share/man/man1/ldapadd.1.gz
/usr/share/man/man1/ldapcompare.1.gz
/usr/share/man/man1/ldapdelete.1.gz
/usr/share/man/man1/ldapexop.1.gz
/usr/share/man/man1/ldapmodify.1.gz
/usr/share/man/man1/ldapmodrdn.1.gz
/usr/share/man/man1/ldappasswd.1.gz
/usr/share/man/man1/ldapsearch.1.gz
/usr/share/man/man1/ldapurl.1.gz
/usr/share/man/man1/ldapwhoami.1.gz
/usr/bin/ldapadd
/usr/bin/ldapcompare
/usr/bin/ldapdelete
/usr/bin/ldapexop
/usr/bin/ldapmodify
/usr/bin/ldapmodrdn
/usr/bin/ldappasswd
/usr/bin/ldapsearch
/usr/bin/ldapurl
/usr/bin/ldapwhoami
/usr/lib/.build-id
/usr/lib/.build-id/0c/a1875d9db7b5f65416c903bd7e5f9fa0ea3cdf
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/ba79c8488209e1acec36ba92de76b2ae0f84a9
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/188aef5a60f4c086da198276ed8bc8ba53c69e
/usr/lib/.build-id/31
/usr/lib/.build-id/31/b52df5e0162f441dfce253c5cf1f1ea9a59107
/usr/lib/.build-id/57
/usr/lib/.build-id/57/515c960b44d00c1cf006652cb7ba7b82b19f3a
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/69ee7d1774d743e936fb7261e1b4d824005599
/usr/lib/.build-id/70
/usr/lib/.build-id/70/0b8f993307ea31caf4d403a5cbe51aba16047d
/usr/lib/.build-id/af
/usr/lib/.build-id/af/afb61453532f2c1a6421c37fa005dfbe6e3feb
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/ff28bd5e2d94226edfdd431ca073e002c694b8
/usr/share/man/man1/ldapadd.1.gz
/usr/share/man/man1/ldapcompare.1.gz
/usr/share/man/man1/ldapdelete.1.gz
/usr/share/man/man1/ldapexop.1.gz
/usr/share/man/man1/ldapmodify.1.gz
/usr/share/man/man1/ldapmodrdn.1.gz
/usr/share/man/man1/ldappasswd.1.gz
/usr/share/man/man1/ldapsearch.1.gz
/usr/share/man/man1/ldapurl.1.gz
/usr/share/man/man1/ldapwhoami.1.gz

References

Summary

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