Introduction
In this tutorial we learn how to install bluez
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install bluez.
Install bluez on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install bluez
using dnf
by running the following command:
sudo dnf -y install bluez
Install bluez on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the bluez
package we can use the following command:
sudo dnf remove bluez
bluez Package Contents on CentOS 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/cdec0dc0f8bb29ff980337eaa4bfa89d99ef3e
/usr/lib/.build-id/20
/usr/lib/.build-id/20/00eb6678f07215c6cd4d63dd7d4a97dc80e0e4
/usr/lib/.build-id/34
/usr/lib/.build-id/34/483be77fb8f533aebf28664561ff872658ba66
/usr/lib/.build-id/41
/usr/lib/.build-id/41/c1f260abbb402e15c228ac737eb958941fa910
/usr/lib/.build-id/56
/usr/lib/.build-id/56/0e26603d76598159e019a6a5a0731c3de82fad
/usr/lib/.build-id/73
/usr/lib/.build-id/73/1ac4f466b5be81dd1da82d3b258840370b33cc
/usr/lib/.build-id/73/c47a0ed596cbe6a03653a4bc969778a7480347
/usr/lib/.build-id/75
/usr/lib/.build-id/75/d4d082d2563bba45ff080cd2a08d7c7ed98929
/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/9c
/usr/lib/.build-id/9c/bdb1decb81172edcc5b18b456847c4bb14ca79
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/3c81f47cdf669ab5fa1a72f8bed1c0c406fd8c
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/0712da26fd816f5f58f56ed3e64c3fdaa1633b
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/93f999c161329850be42c448debdda208454d6
/usr/lib/.build-id/cc/b178254f2f3ff67d9b56525df52076743d3fe3
/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/ff
/usr/lib/.build-id/ff/d37370c69959a35dfe0137f75bdde081087484
/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 CentOS 8 using yum and dnf.