Airsonic Advanced is a free and open-source music streaming server that allows you to access your music collection from anywhere with an internet connection. In this tutorial, we will guide you step-by-step on how to install Airsonic Advanced on Void Linux using the command line.
Before starting with the installation process, ensure that the following prerequisites are met:
The first step is to update the package repository of Void Linux to its latest version.
$ sudo xbps-install -S
Airsonic Advanced requires Java to run. If your system doesn’t already have Java installed, you need to install it using the following command.
$ sudo xbps-install -S openjdk11
Airsonic Advanced requires a database to store music metadata. You can choose any one of the available databases supported by Airsonic Advanced, but in this tutorial, we will use MariaDB.
Install MariaDB by running the following command:
$ sudo xbps-install -S mariadb
Start and enable the MariaDB service using the following command:
$ sudo ln -s /etc/sv/mysqld /var/service/
Then secure the MariaDB installation:
$ sudo mysql_secure_installation
You can install Airsonic Advanced using the package manager or by downloading the source code from Github, but in this tutorial, we will use the latter approach.
Download the source code from Github using the following command:
$ git clone https://github.com/airsonic-advanced/airsonic-advanced.git
Navigate to the extracted folder and run the following command to build and install the application:
$ ./gradlew installDist
Create a configuration file for Airsonic Advanced using the sample-file provided in the distribution as a template:
$ cp airsonic.properties.sample build/install/airsonic-advanced/config/airsonic.properties
Open the configuration file in your preferred text editor and modify the following entries accordingly:
server.name = My Airsonic Server
server.context-path = /airsonic
Start the Airsonic Advanced service using the following command:
$ ./build/install/airsonic-advanced/bin/airsonic
Then create a symbolic link to ensure that the service starts automatically on boot:
$ sudo ln -s /etc/sv/airsonic /var/service/
Airsonic Advanced is now installed and ready to use. You can access it using your preferred web browser at http://
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!