How To Install php-wikimedia-cdb on Fedora 36
Introduction
In this tutorial we learn how to install php-wikimedia-cdb
on Fedora 36.
What is php-wikimedia-cdb
CDB, short for “constant database”, refers to a very fast and highly reliable database system which uses a simple file with key value pairs. This library wraps the CDB functionality exposed in PHP via the dba_* functions. In cases where dba_* functions are not present or are not compiled with CDB support, a pure-PHP implementation is provided for falling back.
We can use yum
or dnf
to install php-wikimedia-cdb
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-wikimedia-cdb.
Install php-wikimedia-cdb 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-wikimedia-cdb
using dnf
by running the following command:
sudo dnf -y install php-wikimedia-cdb
Install php-wikimedia-cdb 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-wikimedia-cdb
using yum
by running the following command:
sudo yum -y install php-wikimedia-cdb
How To Uninstall php-wikimedia-cdb on Fedora 36
To uninstall only the php-wikimedia-cdb
package we can use the following command:
sudo dnf remove php-wikimedia-cdb
php-wikimedia-cdb Package Contents on Fedora 36
/usr/share/doc/php-wikimedia-cdb
/usr/share/doc/php-wikimedia-cdb/README.md
/usr/share/licenses/php-wikimedia-cdb
/usr/share/licenses/php-wikimedia-cdb/COPYING
/usr/share/php/Cdb
/usr/share/php/Cdb/Exception.php
/usr/share/php/Cdb/Reader
/usr/share/php/Cdb/Reader.php
/usr/share/php/Cdb/Reader/DBA.php
/usr/share/php/Cdb/Reader/Hash.php
/usr/share/php/Cdb/Reader/PHP.php
/usr/share/php/Cdb/Util.php
/usr/share/php/Cdb/Writer
/usr/share/php/Cdb/Writer.php
/usr/share/php/Cdb/Writer/DBA.php
/usr/share/php/Cdb/Writer/PHP.php
/usr/share/php/Cdb/autoload.php
References
Summary
In this tutorial we learn how to install php-wikimedia-cdb
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).