This document lists commands to setup speech-dispatcher with compiled eSpeak-NG on Ubuntu 24.04.
Uninstall eSpeak NG:
sudo apt remove espeak-ng espeak-ng-dataClone eSpeak NG from Github:
cd ~/git
git clone https://github.com/espeak-ng/espeak-ng.gitCompile the source code, including shared libs:
cd ~/git/espeak-ng
cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
cmake --build build
cmake --build build --target data
sudo cmake --install buildInstall speech-dispatcher-espeak-ng only, ignoring its dependencies:
apt-get download speech-dispatcher-espeak-ng
sudo dpkg -i --ignore-depends=libespeak-ng1,espeak-ng-data speech-dispatcher-espeak-ng_0.12.0~rc2-2build3_amd64.debRestart speech-dispatcher service:
sudo systemctl restart speech-dispatcher
sudo systemctl status speech-dispatcherTest speech-dispatcher:
spd-say "Hi!"