How To Install mod_auth_kerb.x86_64 on Amazon Linux 2

In this tutorial we learn how to install mod_auth_kerb.x86_64 in Amazon Linux 2. mod_auth_kerb.x86_64 is Kerberos authentication module for HTTP

Introduction

In this tutorial we learn how to install mod_auth_kerb.x86_64 on Amazon Linux 2.

What is mod_auth_kerb.x86_64

mod_auth_kerb is module for the Apache HTTP Server designed to provide Kerberos authentication over HTTP. The module supports the Negotiate authentication method, which performs full Kerberos authentication based on ticket exchanges.

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

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

sudo yum -y install mod_auth_kerb.x86_64

How To Uninstall mod_auth_kerb.x86_64 on Amazon Linux 2

To uninstall only the mod_auth_kerb.x86_64 package we can use the following command:

sudo yum remove mod_auth_kerb.x86_64

mod_auth_kerb.x86_64 Package Contents on Amazon Linux 2

/etc/httpd/conf.modules.d/10-auth_kerb.conf
/run/httpd/krbcache
/usr/lib/tmpfiles.d/httpd-krbcache.conf
/usr/lib64/httpd/modules/mod_auth_kerb.so
/usr/share/doc/mod_auth_kerb-5.4
/usr/share/doc/mod_auth_kerb-5.4/LICENSE
/usr/share/doc/mod_auth_kerb-5.4/LICENSE.ASL
/usr/share/doc/mod_auth_kerb-5.4/README
/usr/share/doc/mod_auth_kerb-5.4/example.conf

References

Summary

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