How To Install libdbi.i686 on Amazon Linux 2

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

Introduction

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

What is libdbi.i686

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

Install libdbi.i686 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.i686 using yum by running the following command:

sudo yum -y install libdbi.i686

How To Uninstall libdbi.i686 on Amazon Linux 2

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

sudo yum remove libdbi.i686

libdbi.i686 Package Contents on Amazon Linux 2

/usr/lib/libdbi.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.