How To Install perl-Crypt-SmbHash on Rocky Linux 8

In this tutorial we learn how to install perl-Crypt-SmbHash on Rocky Linux 8. perl-Crypt-SmbHash is Pure-perl Lanman and NT MD4 hash functions

Introduction

In this tutorial we learn how to install perl-Crypt-SmbHash on Rocky Linux 8.

What is perl-Crypt-SmbHash

This module generates Lanman and NT MD4 style password hashes, using perl-only code for portability. The module aids in the administration of Samba style systems.

We can use yum or dnf to install perl-Crypt-SmbHash on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Crypt-SmbHash.

Install perl-Crypt-SmbHash on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Crypt-SmbHash

Install perl-Crypt-SmbHash on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Crypt-SmbHash

How To Uninstall perl-Crypt-SmbHash on Rocky Linux 8

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

sudo dnf remove perl-Crypt-SmbHash

perl-Crypt-SmbHash Package Contents on Rocky Linux 8

/usr/share/doc/perl-Crypt-SmbHash
/usr/share/doc/perl-Crypt-SmbHash/Changes
/usr/share/doc/perl-Crypt-SmbHash/README
/usr/share/man/man3/Crypt::SmbHash.3pm.gz
/usr/share/perl5/vendor_perl/Crypt
/usr/share/perl5/vendor_perl/Crypt/SmbHash.pm

References

Summary

In this tutorial we learn how to install perl-Crypt-SmbHash on Rocky Linux 8 using yum and dnf.