How To Install libtdb-devel on Rocky Linux 8

In this tutorial we learn how to install libtdb-devel on Rocky Linux 8. libtdb-devel is Header files need to link the Tdb library

Introduction

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

What is libtdb-devel

Header files needed to develop programs that link against the Tdb library.

We can use yum or dnf to install libtdb-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtdb-devel.

Install libtdb-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 libtdb-devel using dnf by running the following command:

sudo dnf -y install libtdb-devel

Install libtdb-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 libtdb-devel using yum by running the following command:

sudo yum -y install libtdb-devel

How To Uninstall libtdb-devel on Rocky Linux 8

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

sudo dnf remove libtdb-devel

libtdb-devel Package Contents on Rocky Linux 8

/usr/include/tdb.h
/usr/lib/libtdb.so
/usr/lib/pkgconfig/tdb.pc
/usr/share/doc/libtdb-devel
/usr/share/doc/libtdb-devel/README
/usr/include/tdb.h
/usr/lib64/libtdb.so
/usr/lib64/pkgconfig/tdb.pc
/usr/share/doc/libtdb-devel
/usr/share/doc/libtdb-devel/README

References

Summary

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