How To Install mbrola on Ubuntu 20.04
Introduction
In this tutorial we learn how to install mbrola
on Ubuntu 20.04.
What is mbrola
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.
There are three methods to install mbrola
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mbrola Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mbrola
using apt-get
by running the following command:
sudo apt-get -y install mbrola
Install mbrola Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mbrola
using apt
by running the following command:
sudo apt -y install mbrola
Install mbrola Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install mbrola
using aptitude
by running the following command:
sudo aptitude -y install mbrola
How To Uninstall mbrola on Ubuntu 20.04
To uninstall only the mbrola
package we can use the following command:
sudo apt-get remove mbrola
Uninstall mbrola And Its Dependencies
To uninstall mbrola
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove mbrola
Remove mbrola Configurations and Data
To remove mbrola
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge mbrola
Remove mbrola configuration, data, and all of its dependencies
We can use the following command to remove mbrola
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mbrola
References
Summary
In this tutorial we learn how to install mbrola
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.