How To Install libdb-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libdb-utils.x86_64 in Amazon Linux 2. libdb-utils.x86_64 is Command line tools for managing Berkeley DB databases

Introduction

In this tutorial we learn how to install libdb-utils.x86_64 on Amazon Linux 2.

What is libdb-utils.x86_64

The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides embedded database support for both traditional and client/server applications. Berkeley DB includes B+tree, Extended Linear Hashing, Fixed and Variable-length record access methods, transactions, locking, logging, shared memory caching, and database recovery. DB supports C, C++, Java and Perl APIs.

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

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

sudo yum -y install libdb-utils.x86_64

How To Uninstall libdb-utils.x86_64 on Amazon Linux 2

To uninstall only the libdb-utils.x86_64 package we can use the following command:

sudo yum remove libdb-utils.x86_64

libdb-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/db_archive
/usr/bin/db_checkpoint
/usr/bin/db_deadlock
/usr/bin/db_dump
/usr/bin/db_dump185
/usr/bin/db_hotbackup
/usr/bin/db_load
/usr/bin/db_log_verify
/usr/bin/db_printlog
/usr/bin/db_recover
/usr/bin/db_replicate
/usr/bin/db_stat
/usr/bin/db_tuner
/usr/bin/db_upgrade
/usr/bin/db_verify
/usr/share/man/man1/db_archive.1.gz
/usr/share/man/man1/db_checkpoint.1.gz
/usr/share/man/man1/db_deadlock.1.gz
/usr/share/man/man1/db_dump.1.gz
/usr/share/man/man1/db_dump185.1.gz
/usr/share/man/man1/db_hotbackup.1.gz
/usr/share/man/man1/db_load.1.gz
/usr/share/man/man1/db_log_verify.1.gz
/usr/share/man/man1/db_printlog.1.gz
/usr/share/man/man1/db_recover.1.gz
/usr/share/man/man1/db_replicate.1.gz
/usr/share/man/man1/db_stat.1.gz
/usr/share/man/man1/db_tuner.1.gz
/usr/share/man/man1/db_upgrade.1.gz
/usr/share/man/man1/db_verify.1.gz

References

Summary

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