Last active
April 7, 2023 13:56
-
-
Save Mausy5043/2ff60eb18d7dffafc799067ef2ff364a to your computer and use it in GitHub Desktop.
install bleeding edge bluez on Rasberry Pi
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
#!/bin/sh | |
if [ -z "$STY" ]; then exec screen -dm -S buildbluez /bin/bash "$0"; fi | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/deb-src.list | |
sudo sed -i 's/^deb /deb-src /' /etc/apt/sources.list.d/deb-src.list | |
sudo apt-get update | |
sudo apt-get build-dep bluez | |
sudo apt -y install python3-docutils | |
cd /tmp | |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git | |
git clone https://github.com/bluez/bluez.git | |
cd bluez | |
./bootstrap | |
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var | |
make && sudo make all && sudo make install | |
sudo systemctl daemon-reload | |
sudo systemctl restart bluetooth.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment