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

2 thoughts on “Install Logitech Media Server (LMS) on Raspberry Pi

  1. Hello,

    Nice article. I’d like to do the same and install the Squeezeboxserver on a Pi.. I’m not a developer and worry (to an extent) that it’s not that easy. Is this literally all you had to do? I guess you have to mount a USB drive too? Any permissions to set? Assume I know nothing (almost). Although technical (engineering background) limited Linux experience. Thanks again for a great site.

    Like

    1. It’s been a while since I set it up, but these are the basic steps. It wasn’t too hard to do. The unknown is how much other stuff I already set up on the Pi – I put a lot on there – and whether or not it affects the Squeezebox install.

      The Pi will mount a USB drive for you, which is probably the best way to add a drive, and if you’re running the Raspi as “pi” like most do, you don’t need to mess with permissions.

      Like

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