How To Install php-pear-MDB2-Driver-pgsql on Fedora 36

In this tutorial we learn how to install php-pear-MDB2-Driver-pgsql in Fedora 36. php-pear-MDB2-Driver-pgsql is PostgreSQL MDB2 driver

Introduction

In this tutorial we learn how to install php-pear-MDB2-Driver-pgsql on Fedora 36.

What is php-pear-MDB2-Driver-pgsql

This is the PostgreSQL MDB2 driver.

We can use yum or dnf to install php-pear-MDB2-Driver-pgsql on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-MDB2-Driver-pgsql.

Install php-pear-MDB2-Driver-pgsql on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-pear-MDB2-Driver-pgsql using dnf by running the following command:

sudo dnf -y install php-pear-MDB2-Driver-pgsql

Install php-pear-MDB2-Driver-pgsql on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-pear-MDB2-Driver-pgsql using yum by running the following command:

sudo yum -y install php-pear-MDB2-Driver-pgsql

How To Uninstall php-pear-MDB2-Driver-pgsql on Fedora 36

To uninstall only the php-pear-MDB2-Driver-pgsql package we can use the following command:

sudo dnf remove php-pear-MDB2-Driver-pgsql

php-pear-MDB2-Driver-pgsql Package Contents on Fedora 36

/usr/share/pear-data/MDB2_Driver_pgsql
/usr/share/pear-data/MDB2_Driver_pgsql/package_pgsql.xml
/usr/share/pear/MDB2/Driver/Datatype/pgsql.php
/usr/share/pear/MDB2/Driver/Function/pgsql.php
/usr/share/pear/MDB2/Driver/Manager/pgsql.php
/usr/share/pear/MDB2/Driver/Native/pgsql.php
/usr/share/pear/MDB2/Driver/Reverse/pgsql.php
/usr/share/pear/MDB2/Driver/pgsql.php
/usr/share/tests/pear/MDB2_Driver_pgsql
/usr/share/tests/pear/MDB2_Driver_pgsql/tests
/usr/share/tests/pear/MDB2_Driver_pgsql/tests/Nonstandard
/usr/share/tests/pear/MDB2_Driver_pgsql/tests/Nonstandard/PgsqlHelper.php
/var/lib/pear/pkgxml/php-pear-MDB2-Driver-pgsql.xml

References

Summary

In this tutorial we learn how to install php-pear-MDB2-Driver-pgsql on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).