How To Install python3-alsa on Fedora 36

In this tutorial we learn how to install python3-alsa in Fedora 36. python3-alsa is Python binding for the ALSA library

Introduction

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

What is python3-alsa

Python bindings for the ALSA library.

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

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

sudo dnf -y install python3-alsa

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

sudo yum -y install python3-alsa

How To Uninstall python3-alsa on Fedora 36

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

sudo dnf remove python3-alsa

python3-alsa Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/77309c6bee6f25f658893520aedfb699eed38f
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/301081e593b69a8e627d48f478b09f8e513ac1
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/3d47d4672982a1223ad5751aaa906a860904a0
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/3bc295ddb5402e87de825e80a3040b4a092e43
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/ad92758cfacd0afa798db0e77d64f79ad6aabe
/usr/lib64/python3.10/site-packages/pyalsa
/usr/lib64/python3.10/site-packages/pyalsa-1.2.6-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyalsa-1.2.6-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyalsa-1.2.6-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyalsa-1.2.6-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyalsa-1.2.6-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/pyalsa/__init__.py
/usr/lib64/python3.10/site-packages/pyalsa/__pycache__
/usr/lib64/python3.10/site-packages/pyalsa/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pyalsa/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pyalsa/alsacard.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pyalsa/alsacontrol.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pyalsa/alsahcontrol.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pyalsa/alsamixer.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pyalsa/alsaseq.cpython-310-x86_64-linux-gnu.so

References

Summary

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