How To Install gdbm on Rocky Linux 8

In this tutorial we learn how to install gdbm on Rocky Linux 8. gdbm is A GNU set of database routines which use extensible hashing

Introduction

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

What is gdbm

Gdbm is a GNU database indexing library, including routines which use extensible hashing. Gdbm works in a similar way to standard UNIX dbm routines. Gdbm is useful for developers who write C applications and need access to a simple and efficient database or who are building C applications which will use such a database. If you’re a C developer and your programs need access to simple database routines, you should install gdbm. You’ll also need to install gdbm-devel.

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

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

sudo dnf -y install gdbm

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

sudo yum -y install gdbm

How To Uninstall gdbm on Rocky Linux 8

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

sudo dnf remove gdbm

gdbm Package Contents on Rocky Linux 8

/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/183ac92985f8607601577e6cfd16b727716104
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/9b32de04c10b4fe5d56a5f0aca775fed587552
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/1ae33f5ae262a08a59a829ded4339bc95f4a4b
/usr/share/doc/gdbm
/usr/share/doc/gdbm/AUTHORS
/usr/share/doc/gdbm/NEWS
/usr/share/doc/gdbm/NOTE-WARNING
/usr/share/doc/gdbm/README
/usr/share/doc/gdbm/THANKS
/usr/share/locale/da/LC_MESSAGES/gdbm.mo
/usr/share/locale/de/LC_MESSAGES/gdbm.mo
/usr/share/locale/eo/LC_MESSAGES/gdbm.mo
/usr/share/locale/es/LC_MESSAGES/gdbm.mo
/usr/share/locale/fi/LC_MESSAGES/gdbm.mo
/usr/share/locale/fr/LC_MESSAGES/gdbm.mo
/usr/share/locale/ja/LC_MESSAGES/gdbm.mo
/usr/share/locale/pl/LC_MESSAGES/gdbm.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gdbm.mo
/usr/share/locale/sr/LC_MESSAGES/gdbm.mo
/usr/share/locale/sv/LC_MESSAGES/gdbm.mo
/usr/share/locale/uk/LC_MESSAGES/gdbm.mo
/usr/share/locale/vi/LC_MESSAGES/gdbm.mo
/usr/share/man/man1/gdbm_dump.1.gz
/usr/share/man/man1/gdbm_load.1.gz
/usr/share/man/man1/gdbmtool.1.gz
/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/2d1541fbe68b642ab7983ffb97a98b0561c5bd
/usr/lib/.build-id/65
/usr/lib/.build-id/65/c1b0f698262222e3fe1b98b0a02b8ad6d3755d
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/ddadc76f4784d1e4c585b68775237ce1ecc8bf
/usr/share/doc/gdbm
/usr/share/doc/gdbm/AUTHORS
/usr/share/doc/gdbm/NEWS
/usr/share/doc/gdbm/NOTE-WARNING
/usr/share/doc/gdbm/README
/usr/share/doc/gdbm/THANKS
/usr/share/locale/da/LC_MESSAGES/gdbm.mo
/usr/share/locale/de/LC_MESSAGES/gdbm.mo
/usr/share/locale/eo/LC_MESSAGES/gdbm.mo
/usr/share/locale/es/LC_MESSAGES/gdbm.mo
/usr/share/locale/fi/LC_MESSAGES/gdbm.mo
/usr/share/locale/fr/LC_MESSAGES/gdbm.mo
/usr/share/locale/ja/LC_MESSAGES/gdbm.mo
/usr/share/locale/pl/LC_MESSAGES/gdbm.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gdbm.mo
/usr/share/locale/sr/LC_MESSAGES/gdbm.mo
/usr/share/locale/sv/LC_MESSAGES/gdbm.mo
/usr/share/locale/uk/LC_MESSAGES/gdbm.mo
/usr/share/locale/vi/LC_MESSAGES/gdbm.mo
/usr/share/man/man1/gdbm_dump.1.gz
/usr/share/man/man1/gdbm_load.1.gz
/usr/share/man/man1/gdbmtool.1.gz

References

Summary

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