db_dump185 command not found

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

Introduction

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

db_dump185: command not found

or when using sudo you get the following error message

sudo: db_dump185: command not found

Solutions to db_dump185: command not found

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

In Ubuntu db_dump185 is provided by libdb1-compat package.

libdb1-compat is:

libdb is a library for manipulating database files, developed at Berkeley.

It supports three kinds of file formats:

  • btree. A representation of a sorted, balanced tree structure.
  • hashed. An extensible, dynamic hashing scheme.
  • UNIX file oriented. A byte stream file with fixed or variable length records.

This library exists for compatibility with applications built against glibc 2.0 or 2.1. There is intentionally no corresponding development package. Do not link new applications against this library!

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

sudo apt-get -y install libdb1-compat

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

You can also use apt command to install libdb1-compat.

sudo apt -y install libdb1-compat

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

sudo aptitude install libdb1-compat

Summary

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