text2wave command not found

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

Introduction

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

text2wave: command not found

or when using sudo you get the following error message

sudo: text2wave: command not found

Solutions to text2wave: command not found

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

In Ubuntu text2wave is provided by festival package.

festival is:

Festival offers a full text to speech system with various APIs, as well an environment for development and research of speech synthesis techniques. It includes a Scheme-based command interpreter.

Besides research into speech synthesis, festival is useful as a stand-alone speech synthesis program. It is capable of producing clearly understandable speech from text.

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

sudo apt-get -y install festival

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

You can also use apt command to install festival.

sudo apt -y install festival

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

sudo aptitude install festival

Summary

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