How To Install php-adodb on AlmaLinux 8

In this tutorial we learn how to install php-adodb in AlmaLinux 8. php-adodb is Database abstraction layer for PHP

Introduction

In this tutorial we learn how to install php-adodb on AlmaLinux 8.

What is php-adodb

ADOdb is an object oriented library written in PHP that abstracts database operations for portability. It is modelled on Microsoft’s ADO, but has many improvements that make it unique (eg. pivot tables, Active Record support, generating HTML for paging recordsets with next and previous links, cached recordsets, HTML menu generation, etc). ADOdb hides the differences between the different databases so you can easily switch DBs without changing code.

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

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

sudo dnf -y install php-adodb

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

sudo yum -y install php-adodb

How To Uninstall php-adodb on AlmaLinux 8

To uninstall only the php-adodb package we can use the following command:

sudo dnf remove php-adodb

References

Summary

In this tutorial we learn how to install php-adodb on AlmaLinux 8 using yum and dnf.