mbrola command not found

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

Introduction

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

mbrola: command not found

or when using sudo you get the following error message

sudo: mbrola: command not found

Solutions to mbrola: command not found

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

In Ubuntu mbrola is provided by mbrola package.

mbrola is:

Mbrola is Thierry Dutoit’s phonemizer for multilingual speech synthesis. The various diphone databases are distributed on separate packages, but they must be used with and only with Mbrola because of license matters. Read the copyright for details.

Mbrola itself doesn’t provide full TTS. It is a speech synthesizer based on the concatenation of diphones. It takes a list of phonemes as input, together with prosodic information (duration of phonemes and a piecewise linear description of pitch), and produces speech samples on 16 bits (linear), at the sampling frequency of the diphone database.

Use Mbrola along with Freephone, cicero or espeak to have a complete text-to-speech in English.

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

sudo apt-get -y install mbrola

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

You can also use apt command to install mbrola.

sudo apt -y install mbrola

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

sudo aptitude install mbrola

Summary

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