How To Install krb5-server-ldap.x86_64 on Amazon Linux 2

In this tutorial we learn how to install krb5-server-ldap.x86_64 in Amazon Linux 2. krb5-server-ldap.x86_64 is The LDAP storage plugin for the Kerberos 5 KDC

Introduction

In this tutorial we learn how to install krb5-server-ldap.x86_64 on Amazon Linux 2.

What is krb5-server-ldap.x86_64

Kerberos is a network authentication system. The krb5-server package contains the programs that must be installed on a Kerberos 5 key distribution center (KDC). If you are installing a Kerberos 5 KDC, and you wish to use a directory server to store the data for your realm, you need to install this package.

We can use yum to install krb5-server-ldap.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install krb5-server-ldap.x86_64.

Install krb5-server-ldap.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install krb5-server-ldap.x86_64 using yum by running the following command:

sudo yum -y install krb5-server-ldap.x86_64

How To Uninstall krb5-server-ldap.x86_64 on Amazon Linux 2

To uninstall only the krb5-server-ldap.x86_64 package we can use the following command:

sudo yum remove krb5-server-ldap.x86_64

krb5-server-ldap.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/krb5
/usr/lib64/krb5/plugins
/usr/lib64/krb5/plugins/kdb
/usr/lib64/krb5/plugins/kdb/kldap.so
/usr/lib64/libkdb_ldap.so
/usr/lib64/libkdb_ldap.so.1
/usr/lib64/libkdb_ldap.so.1.0
/usr/sbin/kdb5_ldap_util
/usr/share/doc/krb5-server-ldap-1.15.1
/usr/share/doc/krb5-server-ldap-1.15.1/60kerberos.ldif
/usr/share/doc/krb5-server-ldap-1.15.1/kerberos.ldif
/usr/share/doc/krb5-server-ldap-1.15.1/kerberos.schema
/usr/share/man/man8/kdb5_ldap_util.8.gz

References

Summary

In this tutorial we learn how to install krb5-server-ldap.x86_64 on Amazon Linux 2 using yum.