How To Install gdbm.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gdbm.x86_64 in Amazon Linux 2. gdbm.x86_64 is A GNU set of database routines which use extensible hashing

Introduction

In this tutorial we learn how to install gdbm.x86_64 on Amazon Linux 2.

What is gdbm.x86_64

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 to install gdbm.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gdbm.x86_64.

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

sudo yum -y install gdbm.x86_64

How To Uninstall gdbm.x86_64 on Amazon Linux 2

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

sudo yum remove gdbm.x86_64

gdbm.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib64/libgdbm.so.4
/usr/lib64/libgdbm.so.4.0.0
/usr/lib64/libgdbm_compat.so.4
/usr/lib64/libgdbm_compat.so.4.0.0
/usr/share/doc/gdbm-1.13
/usr/share/doc/gdbm-1.13/AUTHORS
/usr/share/doc/gdbm-1.13/NEWS
/usr/share/doc/gdbm-1.13/NOTE-WARNING
/usr/share/doc/gdbm-1.13/README
/usr/share/doc/gdbm-1.13/THANKS
/usr/share/licenses/gdbm-1.13
/usr/share/licenses/gdbm-1.13/COPYING
/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/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/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.x86_64 on Amazon Linux 2 using yum.