Multi-room Audio with a Raspberry Pi and Squeezelite

This tutorial borrows largely from Garrelt's tutorial on Squeezing a Raspberry Pi. I've boiled down what he did into a more succinct version. I hope you enjoy it.

Before you start, follow my tutorial on Getting Started with Raspbian Lite on a Raspberry Pi to get Linux installed and properly configured for use.

All you need to do is get audio configured, install the dependencies, install Squeezelite, and run Squeezelite. This will get you a working home-made Squeezebox.

1. Audio Configuration

Run sudo alsamixer. This utility lets you select the correct output device and adjust the volume.

2. Install Software

The following steps will get the necessary dependencies and Squeezelite itself installed:

$ sudo apt-get install -y vim-nox tmux libflac-dev libfaad2 libmad0
$ wget -O squeezelite-armv6hf http://ralph_irving.users.sourceforge.net/pico/squeezelite-armv6hf-noffmpeg
$ chmod a+x squeezelite-armv6hf
$ sudo mv squeezelite-armv6hf /usr/local/bin/

Run sudo /usr/local/bin/squeezelite-armv6hf -l to see what audio devices Squeezelite can output to. In my case, I want to use default:CARD=ALSA, which will use the 3.5mm audio jack for output on the Raspberry Pi. Finally, run:

$ squeezelite-armv6hf -zn hostname -o default:CARD=ALSA

You're in business! This Rapberry Pi should now be a functional Squeezebox.