Success!! Linux iTunes Server fully working!

As many people don’t have an OS X iTunes Server but plenty of CDs and ripped music (even if from questionable sources :)), My exercise was to set up an iTunes Server. I have a NAS system and a large Ubuntu server. First Choice: NAS…. forget it. Most NAS systems are hopelessly outdated and with newer version of iTunes it just doesn’t work properly, or they are so CPU limited that indexing takes days.

So, I decided I needed my own iTunes Server that works on all my Macs and PCs in the house.

In comes Ubuntu 14.04 LTS server… on a standard install, nothing fancy except ssh server so you can actually log in :), make sure you update and upgrade all packages so you are fully up to date.

sudo apt-get update && sudo apt-get upgrade'

After that is done, Executie the following:

sudo apt-get install forked-daapd

This will install forked-daapd and all its dependencies which is what we need. Bear in mind I am lazy so I am not in the mood to install all the dependencies with the newest not-in-repository version. So this will install everything you need.

When this is done, you should see something like this:

Starting forked-daapd:  OK 

Next download the pre-compiled version 21 of forked-daapd, otherwise all your songs will show up as “Movies” within iTunes.

You can find the pre-compiled version here: Click to download

(courtesy of

Now, before you install that deb file, you need to add one more library that wasn’t included in the original forked-daapd installation. You can do this with:

sudo apt-get install libavresample1



Once that is installed, simply install the version 21 with

sudo dpkg -i forked-daapd_21.0-1_amd64.deb

Now that we have that installed, go to edit the config file with

sudo nano /etc/forked-daapd.conf 

and edit the directory location. The rest you can leave as it is within the file.


Great, we are ALMOST done. I have noticed that once the service is running, some files won’t play and the only way I “fixed” it is to install miniDLNA

sudo apt-get install minidlna 

Now restart or start the service with

sudo /etc/init.d/forked-daapd restart 


sudo /etc/init.d/forked-daapd start

And fire up will see this:

Library Update



You can now play on any iTunes device the music from your Ubuntu Server 🙂

Posted in Linux/*nix, Mac OS X Tagged with: , ,