How To Install perl-Mozilla-LDAP on Rocky Linux 8

In this tutorial we learn how to install perl-Mozilla-LDAP on Rocky Linux 8. perl-Mozilla-LDAP is LDAP Perl module that wraps the OpenLDAP C SDK

Introduction

In this tutorial we learn how to install perl-Mozilla-LDAP on Rocky Linux 8.

What is perl-Mozilla-LDAP

LDAP Perl module that wraps the OpenLDAP C SDK.

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

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

sudo dnf -y install perl-Mozilla-LDAP

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

sudo yum -y install perl-Mozilla-LDAP

How To Uninstall perl-Mozilla-LDAP on Rocky Linux 8

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

sudo dnf remove perl-Mozilla-LDAP

perl-Mozilla-LDAP Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/cf624b001063f2560affe52b6e45891162316f
/usr/lib64/perl5/vendor_perl/Mozilla/LDAP/API.pm
/usr/lib64/perl5/vendor_perl/Mozilla/LDAP/Conn.pm
/usr/lib64/perl5/vendor_perl/Mozilla/LDAP/Entry.pm
/usr/lib64/perl5/vendor_perl/Mozilla/LDAP/LDIF.pm
/usr/lib64/perl5/vendor_perl/Mozilla/LDAP/Utils.pm
/usr/lib64/perl5/vendor_perl/auto/Mozilla/LDAP/API/API.so
/usr/lib64/perl5/vendor_perl/auto/Mozilla/LDAP/API/autosplit.ix
/usr/share/doc/perl-Mozilla-LDAP
/usr/share/doc/perl-Mozilla-LDAP/CREDITS
/usr/share/doc/perl-Mozilla-LDAP/ChangeLog
/usr/share/doc/perl-Mozilla-LDAP/MPL-1.1.txt
/usr/share/doc/perl-Mozilla-LDAP/README
/usr/share/man/man3/Mozilla::LDAP::API.3pm.gz
/usr/share/man/man3/Mozilla::LDAP::Conn.3pm.gz
/usr/share/man/man3/Mozilla::LDAP::Entry.3pm.gz
/usr/share/man/man3/Mozilla::LDAP::LDIF.3pm.gz
/usr/share/man/man3/Mozilla::LDAP::Utils.3pm.gz

References

Summary

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