How To Install python3-libusb1 on Fedora 36

In this tutorial we learn how to install python3-libusb1 in Fedora 36. python3-libusb1 is Pure-python wrapper for libusb-1.0

Introduction

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

What is python3-libusb1

Pure-python wrapper for libusb-1.0. Supports all transfer types, both in synchronous and asynchronous mode.

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

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

sudo dnf -y install python3-libusb1

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

sudo yum -y install python3-libusb1

How To Uninstall python3-libusb1 on Fedora 36

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

sudo dnf remove python3-libusb1

python3-libusb1 Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/__pycache__/libusb1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/libusb1.cpython-310.pyc
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/libusb1-2.0.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/libusb1.py
/usr/lib/python3.10/site-packages/usb1
/usr/lib/python3.10/site-packages/usb1/__init__.py
/usr/lib/python3.10/site-packages/usb1/__pycache__
/usr/lib/python3.10/site-packages/usb1/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/_libusb1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/_libusb1.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/libusb1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/libusb1.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/testUSB1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pycache__/testUSB1.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__init__.py
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/hook-usb1.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/hook-usb1.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/test_libusb1_packaging.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/__pycache__/test_libusb1_packaging.cpython-310.pyc
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/hook-usb1.py
/usr/lib/python3.10/site-packages/usb1/__pyinstaller/test_libusb1_packaging.py
/usr/lib/python3.10/site-packages/usb1/_libusb1.py
/usr/lib/python3.10/site-packages/usb1/_version.py
/usr/lib/python3.10/site-packages/usb1/libusb1.py
/usr/lib/python3.10/site-packages/usb1/testUSB1.py
/usr/share/doc/python3-libusb1
/usr/share/doc/python3-libusb1/PKG-INFO
/usr/share/doc/python3-libusb1/README.rst
/usr/share/licenses/python3-libusb1
/usr/share/licenses/python3-libusb1/COPYING
/usr/share/licenses/python3-libusb1/COPYING.LESSER

References

Summary

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