Install Logitech Media Server (LMS) on Raspberry Pi

Raspberry Pi B: Wheezy.

Before installing it, I did a lot of reading about how hard it is to install. Several different sites suggested a long and difficult installation process. For me, it was not hard AT ALL.

I installed it on a Raspberry Pi B (the original) running Debian Wheezy.

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

And specifically:

$ uname -a

Linux myservername 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

How to Install

Update first:

$ sudo apt-get update && sudo apt-get dist-upgrade

I followed the install directions, sort of, from AllThingsPi. The following installs SOX libraries, and what looks like FLAC support – which I’ll need:

# install some libs
$ sudo apt-get install -y libsox-fmt-all libflac-dev libfaad2 libmad0

Then download from Logitech:

# get the latest nightly build (from downloads.slimdevices.com):
$ wget -O logitechmediaserver_all.deb $(wget -q -O - "http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&os=deb")

And install:

$ sudo dpkg -i logitechmediaserver_all.deb

It started automatically, so I went to http://myserverorIPaddress:9000 and there it was, running fine.

So far, my Pi is a NAS, a backup server, web server, and music server.

And AllThingsPi said that he also installed SqueezeLite on the same Pi so that it was serving the client installed on the same Pi. Pretty spiffy. I won’t be doing that. My goal is to run multiple Pis as Squeezeboxes, synchronized throughout my castle.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s