How To Install festival-hi on Ubuntu 18.04

In this tutorial we learn how to install festival-hi on Ubuntu 18.04. festival-hi is festival text to speech synthesizer for Hindi language

Introduction

In this tutorial we learn how to install festival-hi on Ubuntu 18.04.

What is festival-hi

festival-hi is:

This package provides the modules required to synthesize speech in Hindi (hi) language using the Festival text-to-speech synthesizer. Given text represented in Unicode (UTF-8 encoding), it uses the festival synthesizer to generate speech in Hindi.

There are three methods to install festival-hi 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 festival-hi Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install festival-hi

Install festival-hi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install festival-hi

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

sudo aptitude -y install festival-hi

How To Uninstall festival-hi on Ubuntu 18.04

To uninstall only the festival-hi package we can use the following command:

sudo apt-get remove festival-hi

Uninstall festival-hi And Its Dependencies

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

sudo apt-get -y autoremove festival-hi

Remove festival-hi Configurations and Data

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

sudo apt-get -y purge festival-hi

Remove festival-hi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge festival-hi

References

Summary

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