How To Install python3-pygatt on Fedora 36

In this tutorial we learn how to install python3-pygatt in Fedora 36. python3-pygatt is A Python Module for Bluetooth LE Generic Attribute Profile

Introduction

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

What is python3-pygatt

This Module allows reading and writing to GATT descriptors on devices such as fitness trackers, sensors, and anything implementing standard GATT Descriptor behavior. pygatt wraps BlueZ’s ‘gatttool’ command-line utility with a Pythonic API.

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

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

sudo dnf -y install python3-pygatt

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

sudo yum -y install python3-pygatt

How To Uninstall python3-pygatt on Fedora 36

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

sudo dnf remove python3-pygatt

python3-pygatt Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pygatt
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pygatt-4.0.5-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pygatt/__init__.py
/usr/lib/python3.10/site-packages/pygatt/__pycache__
/usr/lib/python3.10/site-packages/pygatt/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/device.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/device.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends
/usr/lib/python3.10/site-packages/pygatt/backends/__init__.py
/usr/lib/python3.10/site-packages/pygatt/backends/__pycache__
/usr/lib/python3.10/site-packages/pygatt/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/__pycache__/backend.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/__pycache__/backend.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/backend.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__init__.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/bgapi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/bgapi.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/bglib.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/bglib.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/constants.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/device.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/device.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/error_codes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/error_codes.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/packets.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/packets.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/bgapi.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/bglib.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/constants.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/device.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/error_codes.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/exceptions.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/packets.py
/usr/lib/python3.10/site-packages/pygatt/backends/bgapi/util.py
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__init__.py
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/device.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/device.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/gatttool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/__pycache__/gatttool.cpython-310.pyc
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/device.py
/usr/lib/python3.10/site-packages/pygatt/backends/gatttool/gatttool.py
/usr/lib/python3.10/site-packages/pygatt/device.py
/usr/lib/python3.10/site-packages/pygatt/exceptions.py
/usr/lib/python3.10/site-packages/pygatt/util.py
/usr/share/doc/python3-pygatt
/usr/share/doc/python3-pygatt/README.rst
/usr/share/licenses/python3-pygatt
/usr/share/licenses/python3-pygatt/LICENSE

References

Summary

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