Installing Subsonic 5/6 on Ubuntu 16.04 LTS (Xenial or Earlier Version) !! (Complete method)

I notice installing the copy of subsonic 5.x from with the *.deb download is fraught with issues; follow the following instructions to install subsonic 5.x with no issues on Ubuntu 15.04.

Can you see this running at

Open your terminal by pressing alt + ctrl + t

Now run the following command one by one…

$ cd ~/
$ wget -q -O - | sudo apt-key add -
$ sudo sh -c 'echo "deb xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jre -y
$ sudo apt-get install subsonic -y

Change the user Subsonic runs as (by default it’s root)

sudo nano /etc/default/subsonic

Change SUBSONIC_USER to your main user (like www-data) * NOT REQUIRED


If you want to change the SUBSONIC port and memory adjust values in this line

SUBSONIC_ARGS="--init-memory=256 --max-memory=512"

If you want to limit memory and change the port (the default is 4040) or add https, then add these values to the uncommented line (the one without the #)

SUBSONIC_ARGS="--port=8080 --https-port=8443 --init-memory=256 --max-memory=512"

Ctrl+X, Y and Enter to save, you’ll restart Subsonic after installing transcoding tools

Install Subsonic transcoding tools for Ubuntu, this will work on 14.x, 15.x and later as long as libav-tools exists

sudo apt-get install libav-tools xmp lame flac -y

Remove the links to the default Subsonic packages

sudo rm /var/subsonic/transcode/ffmpeg
sudo rm /var/subsonic/transcode/lame
sudo rm /var/subsonic/transcode/xmp
sudo rm /var/subsonic/transcode/flac

Subsonic uses ffmpeg so we are tricking the symlink into using avconv.

sudo ln -s /usr/bin/avconv /var/subsonic/transcode/ffmpeg
sudo ln -s /usr/bin/flac /var/subsonic/transcode/flac
sudo ln -s /usr/bin/xmp /var/subsonic/transcode/xmp
sudo ln -s /usr/bin/lame /var/subsonic/transcode/lame

Now you have installed Subsonic on Ubuntu and can begin configuring it and adding your media.