How To Install perl-DB_File on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-DB_File
on AlmaLinux 8.
What is perl-DB_File
DB_File is a module which allows Perl programs to make use of the facilities provided by Berkeley DB version 1.x (if you have a newer version of DB, you will be limited to functionality provided by interface of version 1.x). The interface defined here mirrors the Berkeley DB interface closely.
We can use yum
or dnf
to install perl-DB_File
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DB_File.
Install perl-DB_File on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-DB_File
using dnf
by running the following command:
sudo dnf -y install perl-DB_File
Install perl-DB_File on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-DB_File
using yum
by running the following command:
sudo yum -y install perl-DB_File
How To Uninstall perl-DB_File on AlmaLinux 8
To uninstall only the perl-DB_File
package we can use the following command:
sudo dnf remove perl-DB_File
References
Summary
In this tutorial we learn how to install perl-DB_File
on AlmaLinux 8 using yum and dnf.