How To Install bluez.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bluez.x86_64 in Amazon Linux 2. bluez.x86_64 is Bluetooth utilities

Introduction

In this tutorial we learn how to install bluez.x86_64 on Amazon Linux 2.

What is bluez.x86_64

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 to install bluez.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bluez.x86_64.

Install bluez.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bluez.x86_64

How To Uninstall bluez.x86_64 on Amazon Linux 2

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

sudo yum remove bluez.x86_64

bluez.x86_64 Package Contents on Amazon Linux 2

/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/systemd/system/bluetooth.service
/usr/lib/systemd/user/obex.service
/usr/lib64/bluetooth
/usr/lib64/bluetooth/plugins
/usr/lib64/bluetooth/plugins/sixaxis.so
/usr/libexec/bluetooth/bluetoothd
/usr/libexec/bluetooth/obexd
/usr/share/dbus-1/services/org.bluez.obex.service
/usr/share/dbus-1/system-services/org.bluez.service
/usr/share/doc/bluez-5.44
/usr/share/doc/bluez-5.44/AUTHORS
/usr/share/doc/bluez-5.44/COPYING
/usr/share/doc/bluez-5.44/ChangeLog
/usr/share/doc/bluez-5.44/README
/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
/var/lib/bluetooth

References

Summary

In this tutorial we learn how to install bluez.x86_64 on Amazon Linux 2 using yum.