How To Install libdb-sql-devel on Rocky Linux 8

In this tutorial we learn how to install libdb-sql-devel on Rocky Linux 8. libdb-sql-devel is Development files for using the Berkeley DB with sql

Introduction

In this tutorial we learn how to install libdb-sql-devel on Rocky Linux 8.

What is libdb-sql-devel

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 or dnf to install libdb-sql-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdb-sql-devel.

Install libdb-sql-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libdb-sql-devel using dnf by running the following command:

sudo dnf -y install libdb-sql-devel

Install libdb-sql-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libdb-sql-devel using yum by running the following command:

sudo yum -y install libdb-sql-devel

How To Uninstall libdb-sql-devel on Rocky Linux 8

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

sudo dnf remove libdb-sql-devel

libdb-sql-devel Package Contents on Rocky Linux 8

/usr/bin/dbsql
/usr/include/libdb/dbsql.h
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/33c0c2518546f78a79c5c45b0b14176d7aaf7f
/usr/lib64/libdb_sql.so
/usr/bin/dbsql
/usr/include/libdb/dbsql.h
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/a04ea6c7b57214a975bb565799cd9d32cb4e41
/usr/lib/libdb_sql.so

References

Summary

In this tutorial we learn how to install libdb-sql-devel on Rocky Linux 8 using yum and dnf.