How To Install asterisk-espeak on Ubuntu 20.04
Introduction
In this tutorial we learn how to install asterisk-espeak
on Ubuntu 20.04.
What is asterisk-espeak
asterisk-espeak is:
Module for the Asterisk open source PBX which allows you to use the eSpeak voice synthesis engine to render text to speech.
There are three methods to install asterisk-espeak
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 asterisk-espeak Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install asterisk-espeak
using apt-get
by running the following command:
sudo apt-get -y install asterisk-espeak
Install asterisk-espeak Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install asterisk-espeak
using apt
by running the following command:
sudo apt -y install asterisk-espeak
Install asterisk-espeak 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 asterisk-espeak
using aptitude
by running the following command:
sudo aptitude -y install asterisk-espeak
How To Uninstall asterisk-espeak on Ubuntu 20.04
To uninstall only the asterisk-espeak
package we can use the following command:
sudo apt-get remove asterisk-espeak
Uninstall asterisk-espeak And Its Dependencies
To uninstall asterisk-espeak
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove asterisk-espeak
Remove asterisk-espeak Configurations and Data
To remove asterisk-espeak
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge asterisk-espeak
Remove asterisk-espeak configuration, data, and all of its dependencies
We can use the following command to remove asterisk-espeak
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge asterisk-espeak
References
Summary
In this tutorial we learn how to install asterisk-espeak
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.