How To Install festvox-kdlpc16k on Ubuntu 18.04

In this tutorial we learn how to install festvox-kdlpc16k on Ubuntu 18.04. festvox-kdlpc16k is American English male speaker for festival, 16khz sample rate

Introduction

In this tutorial we learn how to install festvox-kdlpc16k on Ubuntu 18.04.

What is festvox-kdlpc16k

festvox-kdlpc16k is:

This is a diphone database for festival that uses 16k samples for high quality sound output. This is a large database (9 MB), and festival will convert text to speech more slowly using it, so you might want to install festvox-kdlpc8k instead if you have low disk space or a slow computer.

The voice contained in this database is an American English male speaker. A different American English voice can be found in the festvox-kallpc16k package if you dislike this one.

There are three methods to install festvox-kdlpc16k on Ubuntu 18.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 festvox-kdlpc16k Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install festvox-kdlpc16k using apt-get by running the following command:

sudo apt-get -y install festvox-kdlpc16k

Install festvox-kdlpc16k Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install festvox-kdlpc16k using apt by running the following command:

sudo apt -y install festvox-kdlpc16k

Install festvox-kdlpc16k 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 festvox-kdlpc16k using aptitude by running the following command:

sudo aptitude -y install festvox-kdlpc16k

How To Uninstall festvox-kdlpc16k on Ubuntu 18.04

To uninstall only the festvox-kdlpc16k package we can use the following command:

sudo apt-get remove festvox-kdlpc16k

Uninstall festvox-kdlpc16k And Its Dependencies

To uninstall festvox-kdlpc16k and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove festvox-kdlpc16k

Remove festvox-kdlpc16k Configurations and Data

To remove festvox-kdlpc16k configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge festvox-kdlpc16k

Remove festvox-kdlpc16k configuration, data, and all of its dependencies

We can use the following command to remove festvox-kdlpc16k configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge festvox-kdlpc16k

References

Summary

In this tutorial we learn how to install festvox-kdlpc16k package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.