Install Libresonic on Arch Linux

Libresonic Arch Linux logo

Libresonic is a web based music streamer with transcoding capabilities. In contrast to Sonarr, Radarr and Headphones it does not download new content but rather manage and provide convenient access to existing collections. Unlike Subsonic or Madsonic it is free and has no limitations.

 

Install Libresonic

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

 

Install using packer from AUR.

packer -S libresonic

 

Install codecs and transcoders.

sudo pacman -S ffmpeg flac lame

 

Configure Libresonic

Optionally add the user to secondary groups.

sudo usermod -a -G nzbget,headphones libresonic

This may be required to provide write permissions depending on permission settings on media directories. Write permissions are only required to allow changing tags. By default audio group is already added which is required to enable the jukebox feature.

 

Open the startup script.

sudo nano /var/lib/libresonic/libresonic.sh

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

 

Change current directory to the transcoding directory.

cd /var/lib/libresonic/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 it 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 Settings -> Users page if no symbolic links are created.

 

Use Libresonic

Start the service.

sudo systemctl start libresonic

 

Enable service to run on boot.

sudo systemctl enable libresonic

 

Access the web interface in the browser on the default port 4040 and the current IP address. For example 192.168.0.100:4040. Login with admin username and password then change the username and password from the web interface to secure the installation.

dom