speech-dispatcher command not found

In this troubleshooting guide we learn how to fix speech-dispatcher command not found error message

Introduction

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

speech-dispatcher: command not found

or when using sudo you get the following error message

sudo: speech-dispatcher: command not found

Solutions to speech-dispatcher: command not found

How To Fix speech-dispatcher: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu speech-dispatcher is provided by speech-dispatcher package.

speech-dispatcher is:

Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications.

Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel.

This package contains Speech Dispatcher itself.

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

sudo apt-get -y install speech-dispatcher

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

You can also use apt command to install speech-dispatcher.

sudo apt -y install speech-dispatcher

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

sudo aptitude install speech-dispatcher

Summary

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