How To Install php-pear-MDB2 on Fedora 36
Introduction
In this tutorial we learn how to install php-pear-MDB2
on Fedora 36.
What is php-pear-MDB2
PEAR layers. It provides a common API for all supported RDBMS. The main difference to most other DB abstraction packages is that MDB2 goes much further to ensure portability.
We can use yum
or dnf
to install php-pear-MDB2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pear-MDB2.
Install php-pear-MDB2 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
using dnf
by running the following command:
sudo dnf -y install php-pear-MDB2
Install php-pear-MDB2 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
using yum
by running the following command:
sudo yum -y install php-pear-MDB2
How To Uninstall php-pear-MDB2 on Fedora 36
To uninstall only the php-pear-MDB2
package we can use the following command:
sudo dnf remove php-pear-MDB2
php-pear-MDB2 Package Contents on Fedora 36
/usr/share/doc/pear/MDB2
/usr/share/doc/pear/MDB2/LICENSE
/usr/share/doc/pear/MDB2/docs
/usr/share/doc/pear/MDB2/docs/CONTRIBUTORS
/usr/share/doc/pear/MDB2/docs/MAINTAINERS
/usr/share/doc/pear/MDB2/docs/README
/usr/share/doc/pear/MDB2/docs/STATUS
/usr/share/doc/pear/MDB2/docs/TODO
/usr/share/doc/pear/MDB2/docs/datatypes.html
/usr/share/doc/pear/MDB2/docs/examples
/usr/share/doc/pear/MDB2/docs/examples/example.php
/usr/share/doc/pear/MDB2/docs/examples/example_php5.php
/usr/share/doc/pear/MDB2/docs/examples/metapear_test_db.schema
/usr/share/pear/MDB2
/usr/share/pear/MDB2.php
/usr/share/pear/MDB2/Date.php
/usr/share/pear/MDB2/Driver
/usr/share/pear/MDB2/Driver/Datatype
/usr/share/pear/MDB2/Driver/Datatype/Common.php
/usr/share/pear/MDB2/Driver/Function
/usr/share/pear/MDB2/Driver/Function/Common.php
/usr/share/pear/MDB2/Driver/Manager
/usr/share/pear/MDB2/Driver/Manager/Common.php
/usr/share/pear/MDB2/Driver/Native
/usr/share/pear/MDB2/Driver/Native/Common.php
/usr/share/pear/MDB2/Driver/Reverse
/usr/share/pear/MDB2/Driver/Reverse/Common.php
/usr/share/pear/MDB2/Extended.php
/usr/share/pear/MDB2/Iterator.php
/usr/share/pear/MDB2/LOB.php
/usr/share/tests/pear/MDB2
/usr/share/tests/pear/MDB2/tests
/usr/share/tests/pear/MDB2/tests/AllTests.php
/usr/share/tests/pear/MDB2/tests/Debug.php
/usr/share/tests/pear/MDB2/tests/Nonstandard
/usr/share/tests/pear/MDB2/tests/Nonstandard/Base.php
/usr/share/tests/pear/MDB2/tests/Nonstandard/SqlservHelper.php
/usr/share/tests/pear/MDB2/tests/README
/usr/share/tests/pear/MDB2/tests/Standard
/usr/share/tests/pear/MDB2/tests/Standard/Abstract.php
/usr/share/tests/pear/MDB2/tests/Standard/ApiTest.php
/usr/share/tests/pear/MDB2/tests/Standard/BugsTest.php
/usr/share/tests/pear/MDB2/tests/Standard/DatatypeTest.php
/usr/share/tests/pear/MDB2/tests/Standard/ExtendedTest.php
/usr/share/tests/pear/MDB2/tests/Standard/FunctionTest.php
/usr/share/tests/pear/MDB2/tests/Standard/InternalsTest.php
/usr/share/tests/pear/MDB2/tests/Standard/ManagerTest.php
/usr/share/tests/pear/MDB2/tests/Standard/ReverseTest.php
/usr/share/tests/pear/MDB2/tests/Standard/UsageTest.php
/usr/share/tests/pear/MDB2/tests/autoload.inc
/usr/share/tests/pear/MDB2/tests/dsn.inc
/usr/share/tests/pear/MDB2/tests/functions.inc
/usr/share/tests/pear/MDB2/tests/import.schema.php
/usr/share/tests/pear/MDB2/tests/schema.xml
/var/lib/pear/pkgxml/php-pear-MDB2.xml
References
Summary
In this tutorial we learn how to install php-pear-MDB2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).