How To Install perl-DBM-Deep on CentOS 7

In this tutorial we learn how to install perl-DBM-Deep on CentOS 7. perl-DBM-Deep is A pure perl multi-level hash/array DBM

Introduction

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

What is perl-DBM-Deep

A unique flat-file database module, written in pure perl. True multi-level hash/array support (unlike MLDBM, which is faked), hybrid OO / tie() interface, cross-platform FTPable files, and quite fast. Can handle millions of keys and unlimited hash levels without significant slow-down. Written from the ground-up in pure perl – this is NOT a wrapper around a C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and Windows.

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

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

sudo yum -y install perl-DBM-Deep

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

sudo dnf -y install perl-DBM-Deep

How To Uninstall perl-DBM-Deep on CentOS 7

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

sudo dnf remove perl-DBM-Deep

References

Summary

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