sasl-sample-server command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sasl-sample-server: command not found
or when using sudo you get the following error message
sudo: sasl-sample-server: command not found
Solutions to sasl-sample-server: command not found
How To Fix sasl-sample-server: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sasl-sample-server is provided by sasl2-bin package.
sasl2-bin is:
This is the Cyrus SASL API implementation, version 2.1. See package libsasl2-2 and RFC 2222 for more information.
This package contains administration programs for the SASL users database and common binary files for plugin modules.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sasl2-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sasl2-bin.
sudo apt -y install sasl2-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install sasl2-bin
Summary
In this tutorial we learn how to fix sasl-sample-server command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.