How To Install gdbm-libs on Rocky Linux 8

In this tutorial we learn how to install gdbm-libs on Rocky Linux 8. gdbm-libs is Libraries files for gdbm

Introduction

In this tutorial we learn how to install gdbm-libs on Rocky Linux 8.

What is gdbm-libs

Libraries for the Gdbm GNU database indexing library

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

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

sudo dnf -y install gdbm-libs

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

sudo yum -y install gdbm-libs

How To Uninstall gdbm-libs on Rocky Linux 8

To uninstall only the gdbm-libs package we can use the following command:

sudo dnf remove gdbm-libs

gdbm-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/db011440d19272e788e40e4187ea145f01dbf7
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/becdf6bc54102c314e645eb9a0cf19d6e13d7b
/usr/lib/libgdbm.so.6
/usr/lib/libgdbm.so.6.0.0
/usr/lib/libgdbm_compat.so.4
/usr/lib/libgdbm_compat.so.4.0.0
/usr/share/licenses/gdbm-libs
/usr/share/licenses/gdbm-libs/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/408bac885089e04b3f40921b5ef12af8f5093f
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/2e6c18b802cc9347d9b138e01a2012b848e353
/usr/lib64/libgdbm.so.6
/usr/lib64/libgdbm.so.6.0.0
/usr/lib64/libgdbm_compat.so.4
/usr/lib64/libgdbm_compat.so.4.0.0
/usr/share/licenses/gdbm-libs
/usr/share/licenses/gdbm-libs/COPYING

References

Summary

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