How To Install libdb-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libdb-devel.x86_64
on Amazon Linux 2.
What is libdb-devel.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 the header files, libraries, and documentation for building programs which use the Berkeley DB.
We can use yum
to install libdb-devel.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-devel.x86_64.
Install libdb-devel.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-devel.x86_64
using yum
by running the following command:
sudo yum -y install libdb-devel.x86_64
How To Uninstall libdb-devel.x86_64 on Amazon Linux 2
To uninstall only the libdb-devel.x86_64
package we can use the following command:
sudo yum remove libdb-devel.x86_64
libdb-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/db.h
/usr/include/db_185.h
/usr/include/libdb
/usr/include/libdb/db.h
/usr/include/libdb/db_185.h
/usr/lib64/libdb.so
References
Summary
In this tutorial we learn how to install libdb-devel.x86_64
on Amazon Linux 2 using yum.