How To Install python3-bluez on Fedora 36

In this tutorial we learn how to install python3-bluez in Fedora 36. python3-bluez is A Python interface to bluez for Python 3

Introduction

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

What is python3-bluez

PyBluez is an effort to create python wrappers around system Bluetooth resources to allow Python developers to easily and quickly create Bluetooth applications.

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

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

sudo dnf -y install python3-bluez

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

sudo yum -y install python3-bluez

How To Uninstall python3-bluez on Fedora 36

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

sudo dnf remove python3-bluez

python3-bluez Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/8db4781302efcceba238f48930c925207c852f
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/eager_resources.txt
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/PyBluez-0.23-py3.10.egg-info/zip-safe
/usr/lib64/python3.10/site-packages/bluetooth
/usr/lib64/python3.10/site-packages/bluetooth/__init__.py
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/ble.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/ble.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/bluez.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/bluez.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/btcommon.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/btcommon.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/macos.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/macos.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/msbt.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/msbt.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/widcomm.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/bluetooth/__pycache__/widcomm.cpython-310.pyc
/usr/lib64/python3.10/site-packages/bluetooth/_bluetooth.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/bluetooth/ble.py
/usr/lib64/python3.10/site-packages/bluetooth/bluez.py
/usr/lib64/python3.10/site-packages/bluetooth/btcommon.py
/usr/lib64/python3.10/site-packages/bluetooth/macos.py
/usr/lib64/python3.10/site-packages/bluetooth/msbt.py
/usr/lib64/python3.10/site-packages/bluetooth/widcomm.py
/usr/share/licenses/python3-bluez
/usr/share/licenses/python3-bluez/COPYING

References

Summary

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