How To Install bluez on Rocky Linux 8

In this tutorial we learn how to install bluez on Rocky Linux 8. bluez is Bluetooth utilities

Introduction

In this tutorial we learn how to install bluez on Rocky Linux 8.

What is bluez

Utilities for use in Bluetooth applications - hcitool - hciattach - hciconfig - bluetoothd - l2ping - rfcomm - sdptool - bccmd - bluetoothctl - btmon - hcidump - l2test - rctest - gatttool - start scripts (Red Hat) - pcmcia configuration files The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.

We can use yum or dnf to install bluez on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bluez.

Install bluez on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bluez using dnf by running the following command:

sudo dnf -y install bluez

Install bluez on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bluez using yum by running the following command:

sudo yum -y install bluez

How To Uninstall bluez on Rocky Linux 8

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

sudo dnf remove bluez

bluez Package Contents on Rocky Linux 8

/etc/bluetooth/main.conf
/etc/dbus-1/system.d/bluetooth.conf
/usr/bin/bccmd
/usr/bin/bluemoon
/usr/bin/bluetoothctl
/usr/bin/btattach
/usr/bin/btmon
/usr/bin/ciptool
/usr/bin/gatttool
/usr/bin/hciattach
/usr/bin/hciconfig
/usr/bin/hcidump
/usr/bin/hcitool
/usr/bin/hex2hcd
/usr/bin/l2ping
/usr/bin/l2test
/usr/bin/mpris-proxy
/usr/bin/rctest
/usr/bin/rfcomm
/usr/bin/sdptool
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/5bc8a752d30a12bc047db8c37bac47127fcb14
/usr/lib/.build-id/19
/usr/lib/.build-id/19/29b4212b8773a97383549188b857f83f5005eb
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/e7fb58195981d75dce240bfcbf0e4ed5082445
/usr/lib/.build-id/73
/usr/lib/.build-id/73/1ac4f466b5be81dd1da82d3b258840370b33cc
/usr/lib/.build-id/73/c47a0ed596cbe6a03653a4bc969778a7480347
/usr/lib/.build-id/76
/usr/lib/.build-id/76/a09d83b8d6f5c9ed86e8c7b9d316e0a68089f0
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/9304234ae396d405112fce1b4a2bae2361a8e5
/usr/lib/.build-id/92
/usr/lib/.build-id/92/c16bc983e47d2ece7a4dcad0969ed5bcbea0fd
/usr/lib/.build-id/93
/usr/lib/.build-id/93/0b5d7040b1b0905f7c2162fe9879b2b3e26801
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/bdb1decb81172edcc5b18b456847c4bb14ca79
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/affe0f9db9f5a8190a477f60be56205c69c779
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/4f028cca5cf4ac4f9f8cffd1a72e90ebcaadcc
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/93f999c161329850be42c448debdda208454d6
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/a246dcb3e84f244cff305980baad19393cb175
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e854245a828ce8257a9b02270efcfcea73a85c
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/fb9cf452d1da16230a4e690bbc88fea9f41941
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/0696e41674cf76821420f7adeb927218600e59
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/76eab7d32d8ca7cc3f636a0c9f31cd80e349f1
/usr/lib/.build-id/e9/de194e444d41a2f4fe7d0b803737a67d390ed9
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/3f5949edaec41b4e4b77eec33a31e2801b501f
/usr/lib/systemd/system/bluetooth.service
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/69-btattach-bcm.rules
/usr/lib64/bluetooth
/usr/lib64/bluetooth/plugins
/usr/lib64/bluetooth/plugins/sixaxis.so
/usr/libexec/bluetooth/bluetoothd
/usr/libexec/bluetooth/btattach-bcm-service.sh
/usr/share/dbus-1/system-services/org.bluez.service
/usr/share/doc/bluez
/usr/share/doc/bluez/AUTHORS
/usr/share/doc/bluez/ChangeLog
/usr/share/licenses/bluez
/usr/share/licenses/bluez/COPYING
/usr/share/man/man1/bccmd.1.gz
/usr/share/man/man1/btattach.1.gz
/usr/share/man/man1/ciptool.1.gz
/usr/share/man/man1/hciattach.1.gz
/usr/share/man/man1/hciconfig.1.gz
/usr/share/man/man1/hcidump.1.gz
/usr/share/man/man1/hcitool.1.gz
/usr/share/man/man1/l2ping.1.gz
/usr/share/man/man1/rctest.1.gz
/usr/share/man/man1/rfcomm.1.gz
/usr/share/man/man1/sdptool.1.gz
/usr/share/man/man8/bluetoothd.8.gz
/usr/share/zsh/site-functions/_bluetoothctl
/var/lib/bluetooth

References

Summary

In this tutorial we learn how to install bluez on Rocky Linux 8 using yum and dnf.