Press "Enter" to skip to content

How to compile Squeezelite-R2

In the download area you can find the .tar.gz archives of the source code used to compile binaries available for download on this website:

  • squeezelite-R2_FULL.tar.gz this is the same source code available in the github repository linked below. Compatible with all O.S.
  • squeezelite-R2_Unix.tar.gz this is the source code compatible only with Unix based system, recommended for building in macOS, FreeBSD and ARM devices.

IMPORTANT: the github repository with updated source code and more information about the project is as always at marcoc1712/squeezelite-R2

Linux

IMPORTANT: to correctly stream DSD format you need to have on your O.S. ALSA >= 1.0.29

Those distros are currently (March 2017) compatible:

- Debian: >= 9.0 ("Stretch")
- Ubuntu: >= 16.04
- Mint: >= 18
- Fedora: >= 22
- RHEL e derivate (CentOS, Scientific Linux): >= 6.x
- openSUSE: >= 42.1
- Slackware: >= 14.2
- Arch: current
- Gentoo: current

Install the dependencies:

sudo apt-get install libasound2 libasound2-dev libflac-dev libmad0-dev libfaad-dev libmpg123-dev libvorbis-dev

Compile:

make -f Makefile.debian # or Makefile.linux if you are using the *Unix.tar.gz

RaspberryPi and other SBC

Important: Raspbian is not compatible because it uses an old version of alsa.
Please use a O.S. with alsa >= 1.0.29 such as Ubuntu server 16.10

sudo apt-get install libasound2 libasound2-dev libflac-dev libmad0-dev libfaad-dev libmpg123-dev libvorbis-dev

make -f Makefile.rpi

If you are using RaspberryPi3 with an ARM64 compatible O.S., after installing the dependencies run:

make -f Makefile.rpi_ARM64

macOS

Install brew -> https://brew.sh/

brew install portaudio flac mad faad2 mpg123 libvorbis

make -f Makefile.macOS-64bit

or

make -f Makefile.macOS-32bit

FreeBSD

sudo pkg install portaudio gmake flac libmad faad2 mpg123 libvorbis

gmake -f Makefile.freebsd

RaspberryPi and other SBC

sudo pkg install portaudio gmake flac libmad faad2 mpg123 libvorbis

gmake -f Makefile.raspbsd

If you are using a RaspberryPi3 with an ARM64 compatible O.S. then run:

sudo pkg install portaudio gmake aarch64-binutils flac libmad faad2 mpg123 libvorbis

gmake -f Makefile.raspbsd_ARM64

 

2 Comments

  1. Fabio Fabio 22 settembre 2017

    Buonasera, cerco di usare squeezelite su datile, ma non riesco a farlo comparire tra i player. dato che credo di essere molto indietro con l’informatica, esiste un modo “for dummies” per ottenere il player su daphile?

    • Simone Simone 9 ottobre 2017

      Prima di tutto devo capire che setup stai usando, suppongo ti riferisca a un computer con Daphile usato unicamente come server e un altro computer che funga da player con squeezelite, corretto?

Rispondi

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d blogger hanno fatto clic su Mi Piace per questo: