How To Install perl-Apache-DBI on AlmaLinux 8

In this tutorial we learn how to install perl-Apache-DBI in AlmaLinux 8. perl-Apache-DBI is Persistent database connections with Apache/mod_perl

Introduction

In this tutorial we learn how to install perl-Apache-DBI on AlmaLinux 8.

What is perl-Apache-DBI

This is version 1.12 of Apache These modules are supposed to be used with the Apache server together with an embedded perl interpreter like mod_perl. They provide support for basic authentication and authorization as well as support for persistent database connections via Perl’s Database Independent Interface (DBI). o DBI.pm provides persistent database connections - connections can be established during server-startup - configurable rollback to ensure data integrity - configurable verification of the connections to avoid time-outs. o AuthDBI.pm provides authentication and authorization - optional shared cache for passwords to minimize database load - configurable cleanup-handler deletes outdated entries from the cache Apache years. Apache modules. It can be considered stable.

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

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

sudo dnf -y install perl-Apache-DBI

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

sudo yum -y install perl-Apache-DBI

How To Uninstall perl-Apache-DBI on AlmaLinux 8

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

sudo dnf remove perl-Apache-DBI

References

Summary

In this tutorial we learn how to install perl-Apache-DBI on AlmaLinux 8 using yum and dnf.