How To Install libdbi on Fedora 34

libdbi is Database Independent Abstraction Layer for C Database Independent Abstraction Layer for C

Introduction

In this tutorial we learn how to install libdbi on Fedora 34.

What is libdbi

libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework. The libdbi package contains just the libdbi framework. To make use of libdbi you will also need one or more plugins from libdbi-drivers, which contains the plugins needed to interface to specific database servers. libdbi 0.9.0 17.fc34 x86_64 51 k libdbi-0.9.0-17.fc34.src.rpm fedora Database Independent Abstraction Layer for C http LGPLv2+ libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework. The libdbi package contains just the libdbi framework. To make use of libdbi you will also need one or more plugins from libdbi-drivers, which contains the plugins needed to interface to specific database servers.

We can use yum or dnf to install libdbi on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdbi.

Install libdbi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libdbi using dnf by running the following command:

sudo dnf -y install libdbi

Install libdbi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libdbi using yum by running the following command:

sudo yum -y install libdbi

How To Uninstall libdbi on Fedora 34

To uninstall only the libdbi package we can use the following command:

sudo dnf remove libdbi

libdbi Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/60230c3087736d474e87246cf0a16e042e51f0
/usr/lib64/libdbi.so.1
/usr/lib64/libdbi.so.1.1.0
/usr/share/doc/libdbi
/usr/share/doc/libdbi/AUTHORS
/usr/share/doc/libdbi/ChangeLog
/usr/share/doc/libdbi/NEWS
/usr/share/doc/libdbi/README
/usr/share/licenses/libdbi
/usr/share/licenses/libdbi/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/80b272a29890c406659c3798b2a10777296c15
/usr/lib/libdbi.so.1
/usr/lib/libdbi.so.1.1.0
/usr/share/doc/libdbi
/usr/share/doc/libdbi/AUTHORS
/usr/share/doc/libdbi/ChangeLog
/usr/share/doc/libdbi/NEWS
/usr/share/doc/libdbi/README
/usr/share/licenses/libdbi
/usr/share/licenses/libdbi/COPYING

References

Summary

In this tutorial we learn how to install libdbi on Fedora 34 using yum and dnf.