How To Install gdbm on Fedora 34
Introduction
In this tutorial we learn how to install gdbm
on Fedora 34.
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. gdbm 1 1.19 2.fc34 x86_64 129 k gdbm-1.19-2.fc34.src.rpm fedora A GNU set of database routines which use extensible hashing http GPLv3+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gdbm.
Install gdbm on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gdbm
using dnf
by running the following command:
sudo dnf -y install gdbm
Install gdbm on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the gdbm
package we can use the following command:
sudo dnf remove gdbm
gdbm Package Contents on Fedora 34
/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/3495542da04b666c5598da7421cbeda769d046
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/43576bb21774eef777d20e01dfa1e042f26fb4
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/e1b79da8ffa7252438bd3e567e70f2577c3ad2
/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
/usr/bin/gdbm_dump
/usr/bin/gdbm_load
/usr/bin/gdbmtool
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/171616e8c1116179d425b844a7290beb07e20f
/usr/lib/.build-id/63
/usr/lib/.build-id/63/db06b11b5abb67d20679384a23c8f8467b8914
/usr/lib/.build-id/90
/usr/lib/.build-id/90/bfdf83394cd8668fa61dd83f806c69003478e6
/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/ http://www.gnu.org/software/gdbm/)
Summary
In this tutorial we learn how to install gdbm
on Fedora 34 using yum and dnf.