Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to use web bluetooth in Chrome/Opera on Ubuntu 16.04
# Download and install BlueZ 5.43 and libreadline7 packages
wget http://mirrors.kernel.org/ubuntu/pool/main/r/readline/libreadline7_7.0-0ubuntu2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/b/bluez/bluez_5.43-1_amd64.deb
sudo dpkg -i libreadline7_7.0-0ubuntu2_amd64.deb
sudo dpkg -i bluez_5.43-1_amd64.deb
# Restart system or BlueZ service
# Enable chrome://flags/#enable-experimental-web-platform-features and restart Chrome
@kekbait

This comment has been minimized.

Show comment
Hide comment
@kekbait

kekbait Sep 28, 2017

The link for bluez 5.43 is dead.

You should replace :
wget http://ftp.debian.org/debian/pool/main/b/bluez/bluez_5.43-1_amd64.deb

by :
wget http://security.debian.org/debian-security/pool/updates/main/b/bluez/bluez_5.43-2+deb9u1_amd64.de

and then of course replace :
sudo dpkg -i bluez_5.43-1_amd64.deb

by :
sudo dpkg -i bluez_5.43-2+deb9u1_amd64.deb

Thanks a lot for this gist !!
Worked for me.

kekbait commented Sep 28, 2017

The link for bluez 5.43 is dead.

You should replace :
wget http://ftp.debian.org/debian/pool/main/b/bluez/bluez_5.43-1_amd64.deb

by :
wget http://security.debian.org/debian-security/pool/updates/main/b/bluez/bluez_5.43-2+deb9u1_amd64.de

and then of course replace :
sudo dpkg -i bluez_5.43-1_amd64.deb

by :
sudo dpkg -i bluez_5.43-2+deb9u1_amd64.deb

Thanks a lot for this gist !!
Worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment