How To Install python3-uinput on Fedora 36

In this tutorial we learn how to install python3-uinput in Fedora 36. python3-uinput is Pythonic API to the Linux uinput kernel module

Introduction

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

What is python3-uinput

Python-uinput is Python interface to the Linux uinput kernel module which allows attaching userspace device drivers into kernel.

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

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

sudo dnf -y install python3-uinput

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

sudo yum -y install python3-uinput

How To Uninstall python3-uinput on Fedora 36

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

sudo dnf remove python3-uinput

python3-uinput Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/a6ced9536ae8da1f4d26e903202fa71e588681
/usr/lib64/python3.10/site-packages/_libsuinput.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/python_uinput-0.10.1-py3.10.egg-info
/usr/lib64/python3.10/site-packages/uinput
/usr/lib64/python3.10/site-packages/uinput/__init__.py
/usr/lib64/python3.10/site-packages/uinput/__pycache__
/usr/lib64/python3.10/site-packages/uinput/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/uinput/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/uinput/__pycache__/ev.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/uinput/__pycache__/ev.cpython-310.pyc
/usr/lib64/python3.10/site-packages/uinput/ev.py
/usr/share/doc/python3-uinput
/usr/share/doc/python3-uinput/COPYING
/usr/share/doc/python3-uinput/NEWS
/usr/share/doc/python3-uinput/README
/usr/share/doc/python3-uinput/examples
/usr/share/doc/python3-uinput/examples/joystick.py
/usr/share/doc/python3-uinput/examples/keyboard.py
/usr/share/doc/python3-uinput/examples/mouse.py

References

Summary

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