How To Install bluez-tools on CentOS 7
Introduction
In this tutorial we learn how to install bluez-tools
on CentOS 7.
What is bluez-tools
This was a GSoC'10 project to implement a new command line tools for bluez (Bluetooth stack for Linux). It is currently an active open source project. The project is implemented in C and uses the D-Bus interface of bluez. The project is still a work in progress, and not all APIs from Bluez have been implemented as a part of bluez-tools. The APIs which have been implemented in bluez-tools are adapter, agent, device, network and obex. Other APIs, such as interfaces for medical devices, pedometers and other specific APIs have not been ported to bluez-tools.
We can use yum
or dnf
to install bluez-tools
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bluez-tools.
Install bluez-tools on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install bluez-tools
using yum
by running the following command:
sudo yum -y install bluez-tools
Install bluez-tools on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install bluez-tools
using dnf
by running the following command:
sudo dnf -y install bluez-tools
How To Uninstall bluez-tools on CentOS 7
To uninstall only the bluez-tools
package we can use the following command:
sudo dnf remove bluez-tools
References
Summary
In this tutorial we learn how to install bluez-tools
on CentOS 7 using yum
and dnf
.