How To Install python3-pocketsphinx on Fedora 36

In this tutorial we learn how to install python3-pocketsphinx in Fedora 36. python3-pocketsphinx is Python interface to pocketsphinx

Introduction

In this tutorial we learn how to install python3-pocketsphinx on Fedora 36.

What is python3-pocketsphinx

Python interface to pocketsphinx.

We can use yum or dnf to install python3-pocketsphinx on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pocketsphinx.

Install python3-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 python3-pocketsphinx using dnf by running the following command:

sudo dnf -y install python3-pocketsphinx

Install python3-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 python3-pocketsphinx using yum by running the following command:

sudo yum -y install python3-pocketsphinx

How To Uninstall python3-pocketsphinx on Fedora 36

To uninstall only the python3-pocketsphinx package we can use the following command:

sudo dnf remove python3-pocketsphinx

python3-pocketsphinx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/d89807ddd03480bc1445d4c92f91ab89204fbf
/usr/lib64/python3.10/site-packages/pocketsphinx
/usr/lib64/python3.10/site-packages/pocketsphinx/__init__.py
/usr/lib64/python3.10/site-packages/pocketsphinx/__pycache__
/usr/lib64/python3.10/site-packages/pocketsphinx/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pocketsphinx/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pocketsphinx/__pycache__/pocketsphinx.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pocketsphinx/__pycache__/pocketsphinx.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pocketsphinx/_pocketsphinx.so
/usr/lib64/python3.10/site-packages/pocketsphinx/_pocketsphinx.so.0
/usr/lib64/python3.10/site-packages/pocketsphinx/_pocketsphinx.so.0.0.0
/usr/lib64/python3.10/site-packages/pocketsphinx/pocketsphinx.py

References

Summary

In this tutorial we learn how to install python3-pocketsphinx on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).