How To Install perl-MLDBM on CentOS 7

In this tutorial we learn how to install perl-MLDBM on CentOS 7. perl-MLDBM is Store multi-level hash structure in single level tied hash

Introduction

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

What is perl-MLDBM

This module can serve as a transparent interface to any TIEHASH package that is required to store arbitrary perl data, including nested references. Thus, this module can be used for storing references and other arbitrary data within DBM databases.

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

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

sudo yum -y install perl-MLDBM

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

sudo dnf -y install perl-MLDBM

How To Uninstall perl-MLDBM on CentOS 7

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

sudo dnf remove perl-MLDBM

References

Summary

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