How To Install perl-NTLM on CentOS 7

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

Introduction

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

What is perl-NTLM

This module provides methods to use NTLM authentication. It can be used as an authenticate method with the Mail to perform the challenge/response mechanism for NTLM connections or it can be used on its own for NTLM authentication with other protocols (eg. HTTP).

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

Install perl-NTLM 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-NTLM using yum by running the following command:

sudo yum -y install perl-NTLM

Install perl-NTLM 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-NTLM using dnf by running the following command:

sudo dnf -y install perl-NTLM

How To Uninstall perl-NTLM on CentOS 7

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

sudo dnf remove perl-NTLM

References

Summary

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