gdbmtool command not found

In this troubleshooting guide we learn how to fix gdbmtool command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gdbmtool: command not found

or when using sudo you get the following error message

sudo: gdbmtool: command not found

Solutions to gdbmtool: command not found

How To Fix gdbmtool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gdbmtool is provided by gdbmtool package.

gdbmtool is:

GNU dbm (‘gdbm’) is a library of database functions that use extendible hashing and works similarly to the standard UNIX ‘dbm’ functions.

The basic use of ‘gdbm’ is to store key/data pairs in a data file, thus providing a persistent version of the ‘dictionary’ Abstract Data Type (‘hash’ to perl programmers). This package includes following command line tools:

  • gdbm_dump – dump database content into system-independant format
  • gdbm_load – recreate database from dump, created by gdbm_dump
  • gdbmtool – view and modify an existing database or to create a new one.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gdbmtool

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gdbmtool.

sudo apt -y install gdbmtool

Or if you have aptitude installed you can use the following command.

sudo aptitude install gdbmtool

Summary

In this tutorial we learn how to fix gdbmtool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.