ldbrename command not found

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

Introduction

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

ldbrename: command not found

or when using sudo you get the following error message

sudo: ldbrename: command not found

Solutions to ldbrename: command not found

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

In Ubuntu ldbrename is provided by ldb-tools package.

ldb-tools is:

ldb is a LDAP-like embedded database built on top of TDB.

What ldb does is provide a fast database with an LDAP-like API designed to be used within an application. In some ways it can be seen as a intermediate solution between key-value pair databases and a real LDAP database.

This package contains bundled test and utility binaries

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

sudo apt-get -y install ldb-tools

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

You can also use apt command to install ldb-tools.

sudo apt -y install ldb-tools

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

sudo aptitude install ldb-tools

Summary

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