How To Install compat-db.x86_64 on Amazon Linux 2

In this tutorial we learn how to install compat-db.x86_64 in Amazon Linux 2. compat-db.x86_64 is The Berkeley DB database compatibility library

Introduction

In this tutorial we learn how to install compat-db.x86_64 on Amazon Linux 2.

What is compat-db.x86_64

The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides embedded database support for both traditional and client/server applications. This package contains various versions of Berkeley DB which were included in previous releases of Red Hat Linux.

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

Install compat-db.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 compat-db.x86_64 using yum by running the following command:

sudo yum -y install compat-db.x86_64

How To Uninstall compat-db.x86_64 on Amazon Linux 2

To uninstall only the compat-db.x86_64 package we can use the following command:

sudo yum remove compat-db.x86_64

compat-db.x86_64 Package Contents on Amazon Linux 2

References

Summary

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