Install Subsonic on Arch Linux

subsonoc arch linux

Subsonic is a web based music streamer with transcoding capabilities. While a great concept, unfortunately it is purposely crippled by non-premium limitations that prevent the use of mobile apps as well as many other features. Madsonic is an alternative fork of Subsonic that may be a better option. It is a little different to install than for example Sonarr or CouchPotato as it is Java based as opposed to Mono or python based.


Install Subsonic

Install Packer if needed or use another package wrapper like Yaourt.


Install Subsonic using packer.

packer -S subsonic


Configure Subsonic

Optionally add the user to secondary groups.

sudo usermod -a -G nzbget,utserver,headphones subsonic

By default Subsonic is added to audio group which is needed enable the jukebox feature.


Open the startup script.

sudo nano /var/lib/subsonic/

To enable HTTPS change SUBSONIC_HTTPS_PORT= from 0 to 8443 or another port value.


Install codecs and transcoders.

sudo pacman -S ffmpeg flac lame


Change current directory to the transcoding directory.

cd /var/lib/subsonic/transcode


Create symbolic links to codecs and transcoders.

sudo ln -s "$(which ffmpeg)"
sudo ln -s "$(which flac)"
sudo ln -s "$(which lame)"

For security reasons subsonic will not search for transcoders so symbolic links must be created. Message in red reading “Notice: Transcoders does not appear to be installed. Click Help button for more information.” will be displayed in the Settings->Users page if no symbolic links are created.


Run Subsonic

Start Subsonic service.

sudo systemctl start subsonic


Enable Subsonic service to run on boot.

sudo systemctl enable subsonic


Access Subsonic in your browser on the default port 4040 and the current IP address. For example Login with admin username and password and change the username and password from the web interface.