How To Install espeak on CentOS 7

In this tutorial we learn how to install espeak on CentOS 7. espeak is Software speech synthesizer (text-to-speech)

Introduction

In this tutorial we learn how to install espeak on CentOS 7.

What is espeak

eSpeak is a software speech synthesizer for English and other languages. eSpeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines, and sounds quite different. It’s perhaps not as natural or “smooth”, but some people may find the articulation clearer and easier to listen to for long periods. eSpeak supports several languages, however in most cases these are initial drafts and need more work to improve them. It can run as a command line program to speak text from a file or from stdin. eSpeak is a software speech synthesizer for English and other languages. eSpeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines, and sounds quite different. It’s perhaps not as natural or “smooth”, but some people may find the articulation clearer and easier to listen to for long periods. eSpeak supports several languages, however in most cases these are initial drafts and need more work to improve them. It can run as a command line program to speak text from a file or from stdin.

We can use yum or dnf to install espeak on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install espeak.

Install espeak on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install espeak using yum by running the following command:

sudo yum -y install espeak

Install espeak on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install espeak using dnf by running the following command:

sudo dnf -y install espeak

How To Uninstall espeak on CentOS 7

To uninstall only the espeak package we can use the following command:

sudo dnf remove espeak

References

Summary

In this tutorial we learn how to install espeak on CentOS 7 using yum and dnf.