How To Install bluez on Fedora 34
Introduction
In this tutorial we learn how to install bluez
on Fedora 34.
What is bluez
Utilities for use in Bluetooth applications - avinfo - bluemoon - bluetoothctl - bluetoothd - btattach - btmon - hex2hcd - l2ping - l2test - mpris-proxy - rctest The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
We can use yum
or dnf
to install bluez
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bluez.
Install bluez on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 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 Fedora 34
To uninstall only the bluez
package we can use the following command:
sudo dnf remove bluez
bluez Package Contents on Fedora 34
/etc/bluetooth
/etc/bluetooth/main.conf
/etc/dbus-1/system.d/bluetooth.conf
/usr/bin/avinfo
/usr/bin/bluemoon
/usr/bin/bluetoothctl
/usr/bin/btattach
/usr/bin/btmgmt
/usr/bin/btmon
/usr/bin/hex2hcd
/usr/bin/l2ping
/usr/bin/l2test
/usr/bin/mpris-proxy
/usr/bin/rctest
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/78fbb44ad3b03578308308aa2ebfacd33a9179
/usr/lib/.build-id/31
/usr/lib/.build-id/31/b9b759a827c25672e5390a065639ffa3da5695
/usr/lib/.build-id/34
/usr/lib/.build-id/34/a17e75e1e7f894515f04b07f6be5f6fa6de493
/usr/lib/.build-id/48
/usr/lib/.build-id/48/b0afe678de7f4b90ff7820c630082bb2a1b59f
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/3ccb58d03c136973aced140171be0d8378f705
/usr/lib/.build-id/65
/usr/lib/.build-id/65/08dd9debad5f857eb4a94180e442d33a2f98e5
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/a98ca523eeee737d25101df479527c47605383
/usr/lib/.build-id/70
/usr/lib/.build-id/70/fd1127a7e1a11885d5c67de27183d2d4b29f2e
/usr/lib/.build-id/79
/usr/lib/.build-id/79/954917e32e2acf51cdb921fbc309693e0b9cde
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/b7dceb1a9346ce8a09a8a2b7853907a3fa8a0d
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/4c92b307bd6125d06c2bc3fbb799f00b4bd83c
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/03c5293f4adfa3b5a09b0d2cacac7cde2ccbf5
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/a7ca9d752f59c6f733ecf83e67dfda733bafbd
/usr/lib/systemd/system/bluetooth.service
/usr/lib64/bluetooth
/usr/lib64/bluetooth/plugins
/usr/lib64/bluetooth/plugins/sixaxis.so
/usr/libexec/bluetooth
/usr/libexec/bluetooth/bluetoothd
/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/btattach.1.gz
/usr/share/man/man1/l2ping.1.gz
/usr/share/man/man1/rctest.1.gz
/usr/share/man/man8/bluetoothd.8.gz
/usr/share/zsh/site-functions/_bluetoothctl
/var/lib/bluetooth
/var/lib/bluetooth/mesh
/etc/bluetooth
/etc/bluetooth/main.conf
/etc/dbus-1/system.d/bluetooth.conf
/usr/bin/avinfo
/usr/bin/bluemoon
/usr/bin/bluetoothctl
/usr/bin/btattach
/usr/bin/btmgmt
/usr/bin/btmon
/usr/bin/hex2hcd
/usr/bin/l2ping
/usr/bin/l2test
/usr/bin/mpris-proxy
/usr/bin/rctest
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/a7e1974336d7b65afa8b88d04719929497219e
/usr/lib/.build-id/17
/usr/lib/.build-id/17/e5b045624baef86e8f35a0d885b3876f1620d6
/usr/lib/.build-id/31
/usr/lib/.build-id/31/a88ea4444ba06d824723abc0662e54332a7ea6
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/b5d7d020a91e2462d1095c0202474c3be1060c
/usr/lib/.build-id/60
/usr/lib/.build-id/60/cc10022c5772c34c8bb3b617264d0190f54f16
/usr/lib/.build-id/61
/usr/lib/.build-id/61/95e4bc261ff2b838cc78b0068fdc1bed14ae4a
/usr/lib/.build-id/63
/usr/lib/.build-id/63/7826adcc1c6dd35781886c6bece4146f8afe6f
/usr/lib/.build-id/88
/usr/lib/.build-id/88/1d9e4ba6a578b7012f13cf69f0024f9e441cec
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/266be69770db861cddaef94f2a0be943c6bbbc
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/c4450e9fab931eaead9598e40b5e5d47b1a0eb
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/ac6dcf6959e593aba4c91b3ae2b9908f4f2d62
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/e23dc2bf38f6c2100777aa65ab1aaac7cb321a
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/38434a6dc9b5fab7e34891132af6229375913c
/usr/lib/systemd/system/bluetooth.service
/usr/lib64/bluetooth
/usr/lib64/bluetooth/plugins
/usr/lib64/bluetooth/plugins/sixaxis.so
/usr/libexec/bluetooth
/usr/libexec/bluetooth/bluetoothd
/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/btattach.1.gz
/usr/share/man/man1/btmon.1.gz
/usr/share/man/man1/l2ping.1.gz
/usr/share/man/man1/rctest.1.gz
/usr/share/man/man8/bluetoothd.8.gz
/usr/share/zsh/site-functions/_bluetoothctl
/var/lib/bluetooth
/var/lib/bluetooth/mesh
References
Summary
In this tutorial we learn how to install bluez
on Fedora 34 using yum and dnf.