Created
December 12, 2018 12:06
-
-
Save marcelrv/6fb578cc0b58f0104fb25e57111ab9ec to your computer and use it in GitHub Desktop.
Installation Bluez 5.46 on Ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based on https://askubuntu.com/questions/883713/using-bluez-5-43-on-ubuntu-16-04 | |
sudo apt-get install debhelper dh-autoreconf flex bison libdbus-glib-1-dev libglib2.0-dev libcap-ng-dev libudev-dev libreadline-dev libical-dev check dh-systemd libebook1.2-dev devscripts | |
#unless you have already a gpg key | |
sudo apt-get install rng-tools | |
gpg --gen-key | |
wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46.orig.tar.xz | |
wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46-0ubuntu1.debian.tar.xz | |
wget https://launchpad.net/ubuntu/+archive/primary/+files/bluez_5.46-0ubuntu1.dsc | |
tar xf bluez_5.46.orig.tar.xz | |
cd bluez-5.46 | |
tar xf ../bluez_5.46-0ubuntu1.debian.tar.xz | |
debchange --local=~lorenzen 'Backport to Xenial' | |
debuild -b -j4 -k[your email address] note: no space between -k and your email] | |
cd .. | |
sudo dpkg -i *.deb | |
note: if stil having signing issues run | |
debuild -b -j4 -uc -us |
Great. Solved my issue with BTLE on Ubuntu 16.04
Same here, this got me a working Bluetooth Low Energy setup on my Ubuntu 16.04 laptop to interface with my BangleJS 2 (http://www.espruino.com/Web+Bluetooth+On+Linux).
Don't forget to restart afterwards: sudo /etc/init.d/bluetooth restart
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many thanks - these instructions worked flawlessly!