How To Install nss-pam-ldapd on AlmaLinux 8
Introduction
In this tutorial we learn how to install nss-pam-ldapd
on AlmaLinux 8.
What is nss-pam-ldapd
The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name service information (users, groups, etc.) on behalf of a lightweight nsswitch module.
We can use yum
or dnf
to install nss-pam-ldapd
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nss-pam-ldapd.
Install nss-pam-ldapd 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 nss-pam-ldapd
using dnf
by running the following command:
sudo dnf -y install nss-pam-ldapd
Install nss-pam-ldapd 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 nss-pam-ldapd
using yum
by running the following command:
sudo yum -y install nss-pam-ldapd
How To Uninstall nss-pam-ldapd on AlmaLinux 8
To uninstall only the nss-pam-ldapd
package we can use the following command:
sudo dnf remove nss-pam-ldapd
References
Summary
In this tutorial we learn how to install nss-pam-ldapd
on AlmaLinux 8 using yum and dnf.