How To Install pocketsphinx on Fedora 36
Introduction
In this tutorial we learn how to install pocketsphinx
on Fedora 36.
What is pocketsphinx
PocketSphinx is a version of the open-source Sphinx-II speech recognition system which is able to recognize speech in real-time. While it may be somewhat less accurate than the offline speech recognizers, it is lightweight enough to run on handheld and embedded devices.
We can use yum
or dnf
to install pocketsphinx
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pocketsphinx.
Install pocketsphinx on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install pocketsphinx
using dnf
by running the following command:
sudo dnf -y install pocketsphinx
Install pocketsphinx on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pocketsphinx
using yum
by running the following command:
sudo yum -y install pocketsphinx
How To Uninstall pocketsphinx on Fedora 36
To uninstall only the pocketsphinx
package we can use the following command:
sudo dnf remove pocketsphinx
pocketsphinx Package Contents on Fedora 36
/usr/bin/pocketsphinx_batch
/usr/bin/pocketsphinx_continuous
/usr/bin/pocketsphinx_mdef_convert
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/c7d934a9cd9a4b1927047f1df8630f9c043f22
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/a83273cd813b0b71098c7c1bd5cb7cb42fa297
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/2bda4897e37274840ce0d4789da58b97e5e359
/usr/share/man/man1/pocketsphinx_batch.1.gz
/usr/share/man/man1/pocketsphinx_continuous.1.gz
/usr/share/man/man1/pocketsphinx_mdef_convert.1.gz
References
Summary
In this tutorial we learn how to install pocketsphinx
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).