How To Install gdbm on Fedora 36

In this tutorial we learn how to install gdbm in Fedora 36. gdbm is A GNU set of database routines which use extensible hashing

Introduction

In this tutorial we learn how to install gdbm on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gdbm.

Install gdbm on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove gdbm

gdbm Package Contents on Fedora 36

---
title: "How To Install gdbm on Fedora 36"
linkTitle: "gdbm"
type: "docs"
description: "In this tutorial we learn how to install gdbm in Fedora 36. gdbm is A GNU set of database routines which use extensible hashing"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gdbm-featured.png
---

## Introduction

In this tutorial we learn how to install `gdbm` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gdbm.

## Install gdbm on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove gdbm

gdbm Package Contents on Fedora 36

/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/597a2e8784be9fb7c74f100322cae88317841f
/usr/lib/.build-id/95
/usr/lib/.build-id/95/a44c5bc1e62832c2ba94c336ecb56f332ead7d
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/4ebd4ca9dee271f1d4c04fec1ea7b922d05520
/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/ru/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/bin/gdbm_dump /usr/bin/gdbm_load /usr/bin/gdbmtool /usr/lib/.build-id /usr/lib/.build-id/64 /usr/lib/.build-id/64/16afa757f7b40e358ec1a2e7e41439ca2ec0ce /usr/lib/.build-id/a1 /usr/lib/.build-id/a1/062932d9f7faadbe1d5daf0b40625ab91b4167 /usr/lib/.build-id/b5 /usr/lib/.build-id/b5/3f3bed99c2a1ad4e89352f7ffe47b526289648 /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/ru/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

* [gdbm website](http://www.gnu.org/software/gdbm/)

## Summary

In this tutorial we learn how to install `gdbm` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).