Ubuntu 12.04 LTS is using BlueZ ver4.98 which is not the latest version. I would like to upgrade to the latest BlueZ version. How can this be done?
Asked
Active
Viewed 1.7k times
4
-
Upgrade to the latest Ubuntu LTS version. – A.B. Apr 22 '15 at 06:10
-
1I don't think Ubuntu 14.04 is using the latest bluez which is ver5.3. http://packages.ubuntu.com/trusty/admin/bluez – user768421 Apr 22 '15 at 06:14
-
And what is the latest version? – A.B. Apr 22 '15 at 06:14
-
1Latest is bluez ver5.3 – user768421 Apr 22 '15 at 06:15
-
Then you have to compile it yourself. – A.B. Apr 22 '15 at 06:17
2 Answers
8
Get the latest version from here.
E.G.:
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.30.tar.xz
Extract
tar xf bluez-5.30.tar.xz
Build
cd bluez-5.30
./configure
make
Then install with
sudo make install
or with checkinstall
for a .deb
package:
sudo apt-get install checkinstall
sudo checkinstall

A.B.
- 90,397
-
I'm trying to install
5.44
on aubuntu-16.04.2
i get no error but the it cant findgatttool
even aftersudo make install
what am i missing? its a live cd if that matters.. – Peter Apr 02 '17 at 13:34 -
This was useful for Ubuntu 18.04 also, but I had to install dependencies for the ./configure step to work.
sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev
– edge-case Dec 07 '20 at 17:32
5
For successful build as per @A.B's post, your system should meet following dependencies. I've Ubuntu 14.04.1 / Kernel 3.16.0
apt-get install libglib2.0-dev libdbus-1-dev libudev-dev libical-dev libreadline6 libreadline6-dev
./configure
make
make install
If you get an error while ./configure
saying configure: error: systemd system unit directory, try following solution by a user:mrd [original post].
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd
-
You should probably install the dependencies before
./configure
-ing the build. – David Foerster Dec 06 '15 at 02:07 -
On Ubuntu 14.04 I had to install packages
libreadline6
andlibreadline6-dev
in addition to given above – Denis The Menace Dec 10 '16 at 15:44