How to Install Groove Basin on MXLinux

In this tutorial, we will learn how to install Groove Basin on the latest version of MXLinux, which is a fast and lightweight Linux distribution based on Debian. Groove Basin is a music player server that allows you to listen to your music collection from any device that has a web browser.

Prerequisites

Before we start, make sure that your system is updated and has the necessary dependencies installed.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git build-essential libchromaprint-dev libopus-dev libogg-dev libtag1-dev libvorbis-dev libflac-dev libmpdclient-dev libmad0-dev

Step 1: Clone Groove Basin Repository

To install Groove Basin, we need to first clone the repository from Github. Open the terminal by pressing Ctrl+Alt+T and run the following command:

git clone https://github.com/andrewrk/groovebasin.git

This will download the latest version of Groove Basin to your local system.

Step 2: Install Node.js

Groove Basin is built on top of Node.js, so we need to install it first. Run the following commands to install Node.js:

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

This will add the Node.js repository and install the latest version of Node.js.

Step 3: Install Groove Basin Dependencies

After installing Node.js, go to the Groove Basin directory and install the dependencies by running the following command:

cd groovebasin
npm install

This will install all the necessary dependencies required to run Groove Basin.

Step 4: Configure Groove Basin

Before starting Groove Basin, we need to configure it by creating a configuration file. Run the following command to create a new config file:

cp sample-config.json config.json

Edit the config file using your favorite text editor and enter your Music directory path. For example, if your music is stored in /home/user/Music, then modify the config file as follows:

{
  "musicDirectory": "/home/user/Music"
}

Step 5: Start Groove Basin

Finally, we can start Groove Basin by running the following command:

npm start

This will start the Groove Basin server on port 16242. Open your web browser and go to http://localhost:16242 to access Groove Basin. If you want to access it from other devices, then replace localhost with the IP address of your system.

Congratulations! You have successfully installed and configured Groove Basin on MXLinux. Enjoy your music collection!

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!