How To Install perl-Authen-Krb5 on CentOS 7

In this tutorial we learn how to install perl-Authen-Krb5 on CentOS 7. perl-Authen-Krb5 is Krb5 Perl module

Introduction

In this tutorial we learn how to install perl-Authen-Krb5 on CentOS 7.

What is perl-Authen-Krb5

Authen API. Both the implementation and documentation are nowhere near complete, and may require previous experience with Kerberos 5 programming. Most of the functions here are documented in detail in the Kerberos 5 API documentation.

We can use yum or dnf to install perl-Authen-Krb5 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Authen-Krb5.

Install perl-Authen-Krb5 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Authen-Krb5 using yum by running the following command:

sudo yum -y install perl-Authen-Krb5

Install perl-Authen-Krb5 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Authen-Krb5 using dnf by running the following command:

sudo dnf -y install perl-Authen-Krb5

How To Uninstall perl-Authen-Krb5 on CentOS 7

To uninstall only the perl-Authen-Krb5 package we can use the following command:

sudo dnf remove perl-Authen-Krb5

References

Summary

In this tutorial we learn how to install perl-Authen-Krb5 on CentOS 7 using yum and dnf.