How To Install speech-dispatcher on CentOS 8

speech-dispatcher is To provide a high-level device independent layer for speech synthesis To provide a high-level device independent layer for speech synthesis

Introduction

In this tutorial we learn how to install speech-dispatcher on CentOS 8.

What is speech-dispatcher

  • Common interface to different TTS engines * Handling concurrent synthesis requests – requests may come asynchronously from multiple sources within an application and/or from more different applications. * Subsequent serialization, resolution of conflicts and priorities of incoming requests * Context switching – state is maintained for each client connection independently, event for connections from within one application. * High-level client interfaces for popular programming languages * Common sound output handling – audio playback is handled by Speech Dispatcher rather than the TTS engine, since most engines have limited sound output capabilities. speech-dispatcher 0.8.8 6.el8 x86_64 761 k speech-dispatcher-0.8.8-6.el8.src.rpm appstream To provide a high-level device independent layer for speech synthesis http GPLv2+ and GPLv2 * Common interface to different TTS engines * Handling concurrent synthesis requests – requests may come asynchronously from multiple sources within an application and/or from more different applications. * Subsequent serialization, resolution of conflicts and priorities of incoming requests * Context switching – state is maintained for each client connection independently, event for connections from within one application. * High-level client interfaces for popular programming languages * Common sound output handling – audio playback is handled by Speech Dispatcher rather than the TTS engine, since most engines have limited sound output capabilities.

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

Install speech-dispatcher on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install speech-dispatcher

Install speech-dispatcher on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install speech-dispatcher using yum by running the following command:

sudo yum -y install speech-dispatcher

How To Uninstall speech-dispatcher on CentOS 8

To uninstall only the speech-dispatcher package we can use the following command:

sudo dnf remove speech-dispatcher

speech-dispatcher Package Contents on CentOS 8

/etc/speech-dispatcher
/etc/speech-dispatcher/clients
/etc/speech-dispatcher/clients/emacs.conf
/etc/speech-dispatcher/modules
/etc/speech-dispatcher/modules/cicero.conf
/etc/speech-dispatcher/modules/dtk-generic.conf
/etc/speech-dispatcher/modules/epos-generic.conf
/etc/speech-dispatcher/modules/ibmtts.conf
/etc/speech-dispatcher/modules/ivona.conf
/etc/speech-dispatcher/modules/llia_phon-generic.conf
/etc/speech-dispatcher/modules/pico-generic.conf
/etc/speech-dispatcher/modules/swift-generic.conf
/etc/speech-dispatcher/speechd.conf
/usr/bin/speech-dispatcher
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/f0e3a24f292b8d6786d879bcb9b86581c69ab7
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/fe76070250c365dcc02c52a68f1f3a255bacaf
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/2e599cd3aa7546cbeb15960d9933ecd641d878
/usr/lib/.build-id/37
/usr/lib/.build-id/37/cf32274d27d60488fba3c64da98b4510522b0a
/usr/lib/.build-id/85
/usr/lib/.build-id/85/20547cf1864adca1cbc377809614fd2c27f7c9
/usr/lib/.build-id/af
/usr/lib/.build-id/af/675d32e0326473b1d902a95c461b67e43f3809
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/2c1a934901888b27f68f0500e7cc8e699770fd
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/e3913a2f1a20fb6615734c25b5b1939866460c
/usr/lib/libspeechd.so.2
/usr/lib/libspeechd.so.2.6.0
/usr/lib/speech-dispatcher
/usr/lib/speech-dispatcher-modules
/usr/lib/speech-dispatcher-modules/sd_cicero
/usr/lib/speech-dispatcher-modules/sd_dummy
/usr/lib/speech-dispatcher-modules/sd_generic
/usr/lib/speech-dispatcher/spd_alsa.so
/usr/lib/speech-dispatcher/spd_libao.so
/usr/lib/speech-dispatcher/spd_pulse.so
/usr/lib/systemd/system/speech-dispatcherd.service
/usr/share/doc/speech-dispatcher
/usr/share/doc/speech-dispatcher/NEWS
/usr/share/doc/speech-dispatcher/README
/usr/share/licenses/speech-dispatcher
/usr/share/licenses/speech-dispatcher/COPYING
/usr/share/locale/cs/LC_MESSAGES/speech-dispatcher.mo
/usr/share/locale/de/LC_MESSAGES/speech-dispatcher.mo
/usr/share/locale/hu/LC_MESSAGES/speech-dispatcher.mo
/usr/share/sounds/speech-dispatcher
/usr/share/sounds/speech-dispatcher/COPYING
/usr/share/sounds/speech-dispatcher/README
/usr/share/sounds/speech-dispatcher/at
/usr/share/sounds/speech-dispatcher/beginning-of-line
/usr/share/sounds/speech-dispatcher/canary-long.wav
/usr/share/sounds/speech-dispatcher/capital
/usr/share/sounds/speech-dispatcher/cembalo-1.wav
/usr/share/sounds/speech-dispatcher/cembalo-10.wav
/usr/share/sounds/speech-dispatcher/cembalo-11.wav
/usr/share/sounds/speech-dispatcher/cembalo-12.wav
/usr/share/sounds/speech-dispatcher/cembalo-2.wav
/usr/share/sounds/speech-dispatcher/cembalo-3.wav
/usr/share/sounds/speech-dispatcher/cembalo-6.wav
/usr/share/sounds/speech-dispatcher/chord-7.wav
/usr/share/sounds/speech-dispatcher/cockchafer-gentleman-1.wav
/usr/share/sounds/speech-dispatcher/cymbaly-1.wav
/usr/share/sounds/speech-dispatcher/dummy-message.wav
/usr/share/sounds/speech-dispatcher/electric-piano-3.wav
/usr/share/sounds/speech-dispatcher/empty-text
/usr/share/sounds/speech-dispatcher/end-of-line
/usr/share/sounds/speech-dispatcher/finish
/usr/share/sounds/speech-dispatcher/glass-water-1.wav
/usr/share/sounds/speech-dispatcher/guitar-12.wav
/usr/share/sounds/speech-dispatcher/guitar-13.wav
/usr/share/sounds/speech-dispatcher/gummy-cat-2.wav
/usr/share/sounds/speech-dispatcher/hash
/usr/share/sounds/speech-dispatcher/klavichord-4.wav
/usr/share/sounds/speech-dispatcher/left-brace
/usr/share/sounds/speech-dispatcher/left-round-bracket
/usr/share/sounds/speech-dispatcher/left-square-bracket
/usr/share/sounds/speech-dispatcher/message
/usr/share/sounds/speech-dispatcher/percussion-10.wav
/usr/share/sounds/speech-dispatcher/percussion-12.wav
/usr/share/sounds/speech-dispatcher/percussion-28.wav
/usr/share/sounds/speech-dispatcher/percussion-50.wav
/usr/share/sounds/speech-dispatcher/piano-3.wav
/usr/share/sounds/speech-dispatcher/pipe
/usr/share/sounds/speech-dispatcher/pipe.wav
/usr/share/sounds/speech-dispatcher/pisk-down-cink.wav
/usr/share/sounds/speech-dispatcher/pisk-down.wav
/usr/share/sounds/speech-dispatcher/pisk-up-cink.wav
/usr/share/sounds/speech-dispatcher/pisk-up.wav
/usr/share/sounds/speech-dispatcher/prompt
/usr/share/sounds/speech-dispatcher/prompt.wav
/usr/share/sounds/speech-dispatcher/right-brace
/usr/share/sounds/speech-dispatcher/right-round-bracket
/usr/share/sounds/speech-dispatcher/right-square-bracket
/usr/share/sounds/speech-dispatcher/start
/usr/share/sounds/speech-dispatcher/test.wav
/usr/share/sounds/speech-dispatcher/trumpet-1.wav
/usr/share/sounds/speech-dispatcher/trumpet-12.wav
/usr/share/sounds/speech-dispatcher/violoncello-7.wav
/usr/share/sounds/speech-dispatcher/xylofon.wav
/usr/share/speech-dispatcher
/usr/share/speech-dispatcher/conf
/usr/share/speech-dispatcher/conf/clients
/usr/share/speech-dispatcher/conf/desktop
/usr/share/speech-dispatcher/conf/desktop/speechd.desktop
/usr/share/speech-dispatcher/conf/modules
/var/log/speech-dispatcher
/etc/speech-dispatcher
/etc/speech-dispatcher/clients
/etc/speech-dispatcher/clients/emacs.conf
/etc/speech-dispatcher/modules
/etc/speech-dispatcher/modules/cicero.conf
/etc/speech-dispatcher/modules/dtk-generic.conf
/etc/speech-dispatcher/modules/epos-generic.conf
/etc/speech-dispatcher/modules/ibmtts.conf
/etc/speech-dispatcher/modules/ivona.conf
/etc/speech-dispatcher/modules/llia_phon-generic.conf
/etc/speech-dispatcher/modules/pico-generic.conf
/etc/speech-dispatcher/modules/swift-generic.conf
/etc/speech-dispatcher/speechd.conf
/usr/bin/speech-dispatcher
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/8bdf3a5c0516c3eddd2d1f89ca65dc9c94f326
/usr/lib/.build-id/24
/usr/lib/.build-id/24/df081a3bd440de56ac0146f8b70529cc9e3887
/usr/lib/.build-id/51
/usr/lib/.build-id/51/8deffa2594fd8158aecb2bb387f0ec3fe08f53
/usr/lib/.build-id/79
/usr/lib/.build-id/79/034a77e5bc3154edde656a95fb2701501325aa
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/0be9292bc4375650283cbe9acc3a095b44b0b6
/usr/lib/.build-id/98
/usr/lib/.build-id/98/c91f4c61643231752513e3ad9dc130472acbc3
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/a9c0d40001f65739da834487dde7d5fc8bbea1
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/aeae624e8bf7eb9de7780d5cc119e9997456b9
/usr/lib/systemd/system/speech-dispatcherd.service
/usr/lib64/libspeechd.so.2
/usr/lib64/libspeechd.so.2.6.0
/usr/lib64/speech-dispatcher
/usr/lib64/speech-dispatcher-modules
/usr/lib64/speech-dispatcher-modules/sd_cicero
/usr/lib64/speech-dispatcher-modules/sd_dummy
/usr/lib64/speech-dispatcher-modules/sd_generic
/usr/lib64/speech-dispatcher/spd_alsa.so
/usr/lib64/speech-dispatcher/spd_libao.so
/usr/lib64/speech-dispatcher/spd_pulse.so
/usr/share/doc/speech-dispatcher
/usr/share/doc/speech-dispatcher/NEWS
/usr/share/doc/speech-dispatcher/README
/usr/share/licenses/speech-dispatcher
/usr/share/licenses/speech-dispatcher/COPYING
/usr/share/locale/cs/LC_MESSAGES/speech-dispatcher.mo
/usr/share/locale/de/LC_MESSAGES/speech-dispatcher.mo
/usr/share/locale/hu/LC_MESSAGES/speech-dispatcher.mo
/usr/share/sounds/speech-dispatcher
/usr/share/sounds/speech-dispatcher/COPYING
/usr/share/sounds/speech-dispatcher/README
/usr/share/sounds/speech-dispatcher/at
/usr/share/sounds/speech-dispatcher/beginning-of-line
/usr/share/sounds/speech-dispatcher/canary-long.wav
/usr/share/sounds/speech-dispatcher/capital
/usr/share/sounds/speech-dispatcher/cembalo-1.wav
/usr/share/sounds/speech-dispatcher/cembalo-10.wav
/usr/share/sounds/speech-dispatcher/cembalo-11.wav
/usr/share/sounds/speech-dispatcher/cembalo-12.wav
/usr/share/sounds/speech-dispatcher/cembalo-2.wav
/usr/share/sounds/speech-dispatcher/cembalo-3.wav
/usr/share/sounds/speech-dispatcher/cembalo-6.wav
/usr/share/sounds/speech-dispatcher/chord-7.wav
/usr/share/sounds/speech-dispatcher/cockchafer-gentleman-1.wav
/usr/share/sounds/speech-dispatcher/cymbaly-1.wav
/usr/share/sounds/speech-dispatcher/dummy-message.wav
/usr/share/sounds/speech-dispatcher/electric-piano-3.wav
/usr/share/sounds/speech-dispatcher/empty-text
/usr/share/sounds/speech-dispatcher/end-of-line
/usr/share/sounds/speech-dispatcher/finish
/usr/share/sounds/speech-dispatcher/glass-water-1.wav
/usr/share/sounds/speech-dispatcher/guitar-12.wav
/usr/share/sounds/speech-dispatcher/guitar-13.wav
/usr/share/sounds/speech-dispatcher/gummy-cat-2.wav
/usr/share/sounds/speech-dispatcher/hash
/usr/share/sounds/speech-dispatcher/klavichord-4.wav
/usr/share/sounds/speech-dispatcher/left-brace
/usr/share/sounds/speech-dispatcher/left-round-bracket
/usr/share/sounds/speech-dispatcher/left-square-bracket
/usr/share/sounds/speech-dispatcher/message
/usr/share/sounds/speech-dispatcher/percussion-10.wav
/usr/share/sounds/speech-dispatcher/percussion-12.wav
/usr/share/sounds/speech-dispatcher/percussion-28.wav
/usr/share/sounds/speech-dispatcher/percussion-50.wav
/usr/share/sounds/speech-dispatcher/piano-3.wav
/usr/share/sounds/speech-dispatcher/pipe
/usr/share/sounds/speech-dispatcher/pipe.wav
/usr/share/sounds/speech-dispatcher/pisk-down-cink.wav
/usr/share/sounds/speech-dispatcher/pisk-down.wav
/usr/share/sounds/speech-dispatcher/pisk-up-cink.wav
/usr/share/sounds/speech-dispatcher/pisk-up.wav
/usr/share/sounds/speech-dispatcher/prompt
/usr/share/sounds/speech-dispatcher/prompt.wav
/usr/share/sounds/speech-dispatcher/right-brace
/usr/share/sounds/speech-dispatcher/right-round-bracket
/usr/share/sounds/speech-dispatcher/right-square-bracket
/usr/share/sounds/speech-dispatcher/start
/usr/share/sounds/speech-dispatcher/test.wav
/usr/share/sounds/speech-dispatcher/trumpet-1.wav
/usr/share/sounds/speech-dispatcher/trumpet-12.wav
/usr/share/sounds/speech-dispatcher/violoncello-7.wav
/usr/share/sounds/speech-dispatcher/xylofon.wav
/usr/share/speech-dispatcher
/usr/share/speech-dispatcher/conf
/usr/share/speech-dispatcher/conf/clients
/usr/share/speech-dispatcher/conf/desktop
/usr/share/speech-dispatcher/conf/desktop/speechd.desktop
/usr/share/speech-dispatcher/conf/modules
/var/log/speech-dispatcher

References

Summary

In this tutorial we learn how to install speech-dispatcher on CentOS 8 using yum and dnf.