apt install build-essential git xmltoman autoconf automake libtool libdaemon-dev libpopt-dev libconfig-dev libasound2-dev libpulse-dev avahi-daemon libavahi-client-dev libssl-dev libmbedtls-dev libsoxr-dev libsndfile1-dev # clone source cd /tmp git clone https://github.com/mikebrady/shairport-sync.git # build with required options cd shairport-sync autoreconf -i -f # /configure --sysconfdir=/etc --with-alsa --with-pa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemd ./configure --sysconfdir=/etc --with-alsa --with-pa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemd --with-configfiles --with-libdaemon make make install sudo systemctl enable shairport-sync