How To Install libdbi.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libdbi.x86_64 in Amazon Linux 2. libdbi.x86_64 is Database Independent Abstraction Layer for C

Introduction

In this tutorial we learn how to install libdbi.x86_64 on Amazon Linux 2.

What is libdbi.x86_64

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 to install libdbi.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libdbi.x86_64.

Install libdbi.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libdbi.x86_64

How To Uninstall libdbi.x86_64 on Amazon Linux 2

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

sudo yum remove libdbi.x86_64

libdbi.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libdbi.so.0
/usr/lib64/libdbi.so.0.0.5
/usr/share/doc/libdbi-0.8.4
/usr/share/doc/libdbi-0.8.4/AUTHORS
/usr/share/doc/libdbi-0.8.4/COPYING
/usr/share/doc/libdbi-0.8.4/ChangeLog
/usr/share/doc/libdbi-0.8.4/README

References

Summary

In this tutorial we learn how to install libdbi.x86_64 on Amazon Linux 2 using yum.