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

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

Introduction

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

What is compat-db47.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 Berkeley DB library version 4.7.25 used for compatibility.

We can use yum to install compat-db47.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-db47.x86_64.

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

sudo yum -y install compat-db47.x86_64

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

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

sudo yum remove compat-db47.x86_64

compat-db47.x86_64 Package Contents on Amazon Linux 2

/usr/bin/berkeley_db47_svc
/usr/bin/db47_archive
/usr/bin/db47_checkpoint
/usr/bin/db47_codegen
/usr/bin/db47_deadlock
/usr/bin/db47_dump
/usr/bin/db47_hotbackup
/usr/bin/db47_load
/usr/bin/db47_printlog
/usr/bin/db47_recover
/usr/bin/db47_stat
/usr/bin/db47_upgrade
/usr/bin/db47_verify
/usr/lib64/db4.7.25
/usr/lib64/db4.7.25/libdb.so
/usr/lib64/db4.7.25/libdb_cxx.so
/usr/lib64/libdb-4.7.so
/usr/lib64/libdb_cxx-4.7.so
/usr/share/doc/compat-db47-4.7.25
/usr/share/doc/compat-db47-4.7.25/db-4.7.25
/usr/share/doc/compat-db47-4.7.25/db-4.7.25/LICENSE
/usr/share/doc/compat-db47-4.7.25/db-4.7.25/README

References

Summary

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