How To Install krb5-pkinit.x86_64 on Amazon Linux 2

In this tutorial we learn how to install krb5-pkinit.x86_64 in Amazon Linux 2. krb5-pkinit.x86_64 is The PKINIT module for Kerberos 5

Introduction

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

What is krb5-pkinit.x86_64

Kerberos is a network authentication system. The krb5-pkinit package contains the PKINIT plugin, which allows clients to obtain initial credentials from a KDC using a private key and a certificate.

We can use yum to install krb5-pkinit.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-pkinit.x86_64.

Install krb5-pkinit.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-pkinit.x86_64 using yum by running the following command:

sudo yum -y install krb5-pkinit.x86_64

How To Uninstall krb5-pkinit.x86_64 on Amazon Linux 2

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

sudo yum remove krb5-pkinit.x86_64

krb5-pkinit.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/krb5
/usr/lib64/krb5/plugins
/usr/lib64/krb5/plugins/preauth
/usr/lib64/krb5/plugins/preauth/pkinit.so

References

Summary

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