📅 2017-Jun-05 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ bluetooth, bluez ⬩ 📚 Archive
Bluez is the default Bluetooth protocol stack on Linux. It should be present and installed on your Linux distribution. If not, building and installing from source is not too difficult:
Download the latest stable source release of Bluez from here. Unzip the compressed file you downloaded.
Install the headers and libraries required for Bluez compilation:
$ sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev
If you do not install the libdbus-1-dev
, you will later get this strange error:
configure: error: D-Bus >= 1.6 is required
$ ./configure
This gave an error about systemd, which is not present on the relatively old Ubuntu I was on:
checking systemd system unit dir... configure: error: systemd system unit directory is required
So, I ran configure disabling systemd:
$ ./configure --disable-systemd
$ make
$ sudo make install
Tried with: Bluez 5.45 and Ubuntu 14.04