schema2ldif command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
schema2ldif: command not found
or when using sudo you get the following error message
sudo: schema2ldif: command not found
Solutions to schema2ldif: command not found
How To Fix schema2ldif: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu schema2ldif is provided by schema2ldif package.
schema2ldif is:
The schema2ldif tool will read the given input file and convert it to an LDIF file that you can insert into you LDAP directory.
The schema2ldif tool is part of and provided by the FusionDirectory project.
To fix this problem, we can install more using the command below.
sudo apt-get -y install schema2ldif
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install schema2ldif.
sudo apt -y install schema2ldif
Or if you have aptitude installed you can use the following command.
sudo aptitude install schema2ldif
Summary
In this tutorial we learn how to fix schema2ldif command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.