How To Install libdb-sql.i686 on Amazon Linux 2

In this tutorial we learn how to install libdb-sql.i686 in Amazon Linux 2. libdb-sql.i686 is Development files for using the Berkeley DB with sql

Introduction

In this tutorial we learn how to install libdb-sql.i686 on Amazon Linux 2.

What is libdb-sql.i686

The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides embedded database support for both traditional and client/server applications. This package contains the libraries for building programs which use the Berkeley DB in SQL.

We can use yum to install libdb-sql.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libdb-sql.i686.

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

sudo yum -y install libdb-sql.i686

How To Uninstall libdb-sql.i686 on Amazon Linux 2

To uninstall only the libdb-sql.i686 package we can use the following command:

sudo yum remove libdb-sql.i686

libdb-sql.i686 Package Contents on Amazon Linux 2

/usr/lib/libdb_sql-5.3.so
/usr/lib/libdb_sql-5.so

References

Summary

In this tutorial we learn how to install libdb-sql.i686 on Amazon Linux 2 using yum.