testsaslauthd command not found

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

Introduction

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

testsaslauthd: command not found

or when using sudo you get the following error message

sudo: testsaslauthd: command not found

Solutions to testsaslauthd: command not found

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

In Ubuntu testsaslauthd 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 testsaslauthd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.