How To Install openldap on Rocky Linux 8
Introduction
In this tutorial we learn how to install openldap
on Rocky Linux 8.
What is openldap
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 package contains configuration files, libraries, and documentation for OpenLDAP.
We can use yum
or dnf
to install openldap
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install openldap.
Install openldap 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
using dnf
by running the following command:
sudo dnf -y install openldap
Install openldap 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
using yum
by running the following command:
sudo yum -y install openldap
How To Uninstall openldap on Rocky Linux 8
To uninstall only the openldap
package we can use the following command:
sudo dnf remove openldap
openldap Package Contents on Rocky Linux 8
/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/247d129cca6798140dd9d0240484e0f2ccfaff
/usr/lib/.build-id/89
/usr/lib/.build-id/89/06726f6c24b6e38107890391cc97ed2f444246
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/6602fdae14555b4f12dd0073c1f6f390aa688c
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/5541a7017ff6dd88ececd5f84b924d47d15028
/usr/lib64/liblber-2.4.so.2
/usr/lib64/liblber-2.4.so.2.10.9
/usr/lib64/libldap-2.4.so.2
/usr/lib64/libldap-2.4.so.2.10.9
/usr/lib64/libldap_r-2.4.so.2
/usr/lib64/libldap_r-2.4.so.2.10.9
/usr/lib64/libslapi-2.4.so.2
/usr/lib64/libslapi-2.4.so.2.10.9
/usr/libexec/openldap
/usr/share/doc/openldap
/usr/share/doc/openldap/ANNOUNCEMENT
/usr/share/doc/openldap/CHANGES
/usr/share/doc/openldap/README
/usr/share/licenses/openldap
/usr/share/licenses/openldap/COPYRIGHT
/usr/share/licenses/openldap/LICENSE
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz
/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/1779e483cb55dcad532d4d3af15bbfe10be5d9
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/b282b0a8a47e0328350ce0d12a6ae598f7cb64
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/b4e99e329d83fa9e6925170a4bcdc750d9a04e
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/978de2dddfbbc4592a9cdb4d434627347dafa2
/usr/lib64/liblber-2.4.so.2
/usr/lib64/liblber-2.4.so.2.10.9
/usr/lib64/libldap-2.4.so.2
/usr/lib64/libldap-2.4.so.2.10.9
/usr/lib64/libldap_r-2.4.so.2
/usr/lib64/libldap_r-2.4.so.2.10.9
/usr/lib64/libslapi-2.4.so.2
/usr/lib64/libslapi-2.4.so.2.10.9
/usr/libexec/openldap
/usr/share/doc/openldap
/usr/share/doc/openldap/ANNOUNCEMENT
/usr/share/doc/openldap/CHANGES
/usr/share/doc/openldap/README
/usr/share/licenses/openldap
/usr/share/licenses/openldap/COPYRIGHT
/usr/share/licenses/openldap/LICENSE
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz
/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/5d5354c4f11083882eb6aa81735feaf7817f56
/usr/lib/.build-id/93
/usr/lib/.build-id/93/c0e3ea1a5fb5238be4dcce1e3ce69d11643098
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/36d4070b861a811564a2eaa8d249c17f697a0b
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/4537ac16066c5bed5905a13c016126cea1c47d
/usr/lib/liblber-2.4.so.2
/usr/lib/liblber-2.4.so.2.10.9
/usr/lib/libldap-2.4.so.2
/usr/lib/libldap-2.4.so.2.10.9
/usr/lib/libldap_r-2.4.so.2
/usr/lib/libldap_r-2.4.so.2.10.9
/usr/lib/libslapi-2.4.so.2
/usr/lib/libslapi-2.4.so.2.10.9
/usr/libexec/openldap
/usr/share/doc/openldap
/usr/share/doc/openldap/ANNOUNCEMENT
/usr/share/doc/openldap/CHANGES
/usr/share/doc/openldap/README
/usr/share/licenses/openldap
/usr/share/licenses/openldap/COPYRIGHT
/usr/share/licenses/openldap/LICENSE
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz
/etc/openldap
/etc/openldap/certs
/etc/openldap/ldap.conf
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/127a6ce3282c92c18b99f84f7eadabd5a60e5b
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/1f63108d946b1f48b3f90e1565a542ac880df2
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/09eed5130a7001c8691eb324d76351b0f62067
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/b30be36a3bffea3cf16d6d7df398e5618897ad
/usr/lib/liblber-2.4.so.2
/usr/lib/liblber-2.4.so.2.10.9
/usr/lib/libldap-2.4.so.2
/usr/lib/libldap-2.4.so.2.10.9
/usr/lib/libldap_r-2.4.so.2
/usr/lib/libldap_r-2.4.so.2.10.9
/usr/lib/libslapi-2.4.so.2
/usr/lib/libslapi-2.4.so.2.10.9
/usr/libexec/openldap
/usr/share/doc/openldap
/usr/share/doc/openldap/ANNOUNCEMENT
/usr/share/doc/openldap/CHANGES
/usr/share/doc/openldap/README
/usr/share/licenses/openldap
/usr/share/licenses/openldap/COPYRIGHT
/usr/share/licenses/openldap/LICENSE
/usr/share/man/man5/ldap.conf.5.gz
/usr/share/man/man5/ldif.5.gz
References
Summary
In this tutorial we learn how to install openldap
on Rocky Linux 8 using yum and dnf.