How To Install perl-Apache-DBI on CentOS 7
Introduction
In this tutorial we learn how to install perl-Apache-DBI
on CentOS 7.
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 for years. Apache related modules. It can be considered stable.
We can use yum
or dnf
to install perl-Apache-DBI
on CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Apache-DBI
using yum
by running the following command:
Install perl-Apache-DBI 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.
After updating yum database, We can install perl-Apache-DBI
using dnf
by running the following command:
How To Uninstall perl-Apache-DBI on CentOS 7
To uninstall only the perl-Apache-DBI
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Apache-DBI
on CentOS 7 using yum
and dnf
.