Skip to content

Instantly share code, notes, and snippets.

@PieGuy314
Last active March 10, 2021 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PieGuy314/136da8c74c422bdc6cb2664b3953ccc0 to your computer and use it in GitHub Desktop.
Save PieGuy314/136da8c74c422bdc6cb2664b3953ccc0 to your computer and use it in GitHub Desktop.
shairport-sync install & update
#
# 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