Last active
March 10, 2021 09:26
-
-
Save PieGuy314/136da8c74c422bdc6cb2664b3953ccc0 to your computer and use it in GitHub Desktop.
shairport-sync install & update
This file contains 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
# | |
# Install | |
# | |
sudo apt update && sudo apt upgrade | |
sudo apt-get install autoconf automake avahi-daemon build-essential git libasound2-dev libavahi-client-dev libconfig-dev libdaemon-dev libpopt-dev libssl-dev libtool xmltoman libsoxr-dev | |
# libmosquitto-dev | |
git clone https://github.com/mikebrady/shairport-sync.git | |
cd shairport-sync | |
autoreconf -i -f | |
./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-soxr | |
# --with-metadata --with-mqtt-client | |
make | |
sudo make install | |
sudo systemctl enable shairport-sync.service | |
sudo reboot | |
# | |
# Update | |
# | |
sudo systemctl stop shairport-sync.service | |
sudo systemctl disable shairport-sync.service | |
sudo rm /lib/systemd/system/shairport-sync.service | |
sudo find /usr/local/ -name 'shairport-sync*' -type f -exec rm {} \; | |
cd ~/shairport-sync | |
git pull | |
autoreconf -i -f | |
./configure --with-alsa --with-avahi --with-ssl=openssl --with-systemd --with-soxr | |
# --with-metadata --with-mqtt-client | |
make | |
sudo make install | |
sudo systemctl enable shairport-sync.service | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment