Navigation

Install Airsonic from source

Prerequisites

In order to build, install, and run Airsonic, you will need:

Test your system

Confirm your Maven installation:

which mvn

Confirm that the $JAVA_HOME environment variable is set:

echo $JAVA_HOME

If Java is installed, but the JAVA_HOME variable not set, be sure to set it before you continue.

Download Airsonic

Clone the Airsonic repo:

git clone https://github.com/airsonic/airsonic.git
cd airsonic

Airsonic version are tagged so you simply need to checkout the version you need:

master being our current develop branch

git checkout v10.1.2

Building

Build Airsonic .war package

Using Maven, build Airsonic:

mvn clean package

You should now have a .war file:

ls -l airsonic-main/target/airsonic.war
airsonic-main/target/airsonic.war