ldapvi command not found

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

Introduction

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

ldapvi: command not found

or when using sudo you get the following error message

sudo: ldapvi: command not found

Solutions to ldapvi: command not found

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

In Ubuntu ldapvi is provided by ldapvi package.

ldapvi is:

From a first glance ldapvi looks like ldapsearch: You search for entries in the ldap database. But the results get opened in your preferred editor, and you can change, add or delete entries from there. After you are done you quit the editor and ldapvi offers you several options: View your changes as LDIF, commit changes or discard them.

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

sudo apt-get -y install ldapvi

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

You can also use apt command to install ldapvi.

sudo apt -y install ldapvi

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

sudo aptitude install ldapvi

Summary

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