How To Install python3-hidapi on Fedora 36
Introduction
In this tutorial we learn how to install python3-hidapi
on Fedora 36.
What is python3-hidapi
Interface to the hidapi library.
We can use yum
or dnf
to install python3-hidapi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-hidapi.
Install python3-hidapi 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-hidapi
using dnf
by running the following command:
sudo dnf -y install python3-hidapi
Install python3-hidapi 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-hidapi
using yum
by running the following command:
sudo yum -y install python3-hidapi
How To Uninstall python3-hidapi on Fedora 36
To uninstall only the python3-hidapi
package we can use the following command:
sudo dnf remove python3-hidapi
python3-hidapi Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/59061fc48a879fc9de39c0560d9f9a2c81a987
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/713119b17437097740e5c4cec88b45e5337db5
/usr/lib64/python3.10/site-packages/hid.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/hidapi-0.11.0.post2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/hidraw.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-hidapi
/usr/share/doc/python3-hidapi/PKG-INFO
/usr/share/doc/python3-hidapi/README.rst
/usr/share/doc/python3-hidapi/try.py
/usr/share/licenses/python3-hidapi
/usr/share/licenses/python3-hidapi/LICENSE-bsd.txt
/usr/share/licenses/python3-hidapi/LICENSE-gpl3.txt
/usr/share/licenses/python3-hidapi/LICENSE-orig.txt
/usr/share/licenses/python3-hidapi/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-hidapi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).