How to Install Navidrome Music Server on Linux Mint

Introduction

Navidrome is an open-source music server that lets you stream your music collection remotely. It is easy to install and set up, and it offers a web interface for managing your music library.

In this tutorial, we will guide you through the process of installing Navidrome Music Server on the latest version of Linux Mint.

Prerequisites

Before you begin this tutorial, you need:

Installation

To install Navidrome on Linux Mint, follow these steps:

Step 1: Install Dependencies

The first step is to install the dependencies required by Navidrome. You can do this by running the following command in the terminal:

sudo apt-get install curl ffmpeg

Step 2: Download the Navidrome Binary

Next, download the Navidrome binary from the official website (https://www.navidrome.org/downloads). Run the following command in the terminal to download the binary:

curl -L https://github.com/navidrome/navidrome/releases/latest/download/navidrome-linux-amd64 -o navidrome

Step 3: Make the Binary Executable

Once the binary has downloaded, make it executable by running the following command:

chmod +x navidrome

Step 4: Move the Binary to /usr/bin

We will move the Navidrome binary to the /usr/bin directory, so it can be easily accessed from the terminal. Run the following command in the terminal to move the binary:

sudo mv navidrome /usr/bin/

Step 5: Create a Navidrome Systemd Service

Now we will create a systemd service file for Navidrome, which will allow it to be started automatically at boot time. Run the following command in your terminal to create the file:

sudo nano /etc/systemd/system/navidrome.service

In the editor, paste the following lines:

[Unit]
Description=Navidrome Music Server
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=<your_username>
ExecStart=/usr/bin/navidrome

[Install]
WantedBy=multi-user.target

Replace <your_username> with your actual Linux Mint username.

Step 6: Reload systemd and Start Navidrome

Reload systemd with the following command:

sudo systemctl daemon-reload

Then start Navidrome with the following command:

sudo systemctl start navidrome

Step 7: Verify Navidrome is Running

Finally, check that the Navidrome service is up and running with the following command:

sudo systemctl status navidrome

If everything is working correctly, the output should look something like this:

● navidrome.service - Navidrome Music Server
   Loaded: loaded (/etc/systemd/system/navidrome.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-09-15 14:20:50 PDT; 34s ago
 Main PID: 1840 (navidrome)
    Tasks: 14 (limit: 3571)
   Memory: 31.3M
   CGroup: /system.slice/navidrome.service
           └─1840 /usr/bin/navidrome

Sep 15 14:20:50 myhostname systemd[1]: Started Navidrome Music Server.

Conclusion

In this tutorial, we showed you how to install Navidrome Music Server on Linux Mint. Now you can easily stream your music collection remotely using Navidrome's web interface.

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!