How to Install Navidrome Music Server on Elementary OS

Navidrome is an open-source music server that allows you to listen to your music collection anywhere with an internet connection. In this tutorial, we will guide you through the process of installing Navidrome on the latest version of Elementary OS.

Requirements

Step 1: Install curl

Open the terminal and install curl by running the following command:

sudo apt-get install curl

Step 2: Download and Install Navidrome

  1. Download the latest version of Navidrome by running the following command:
curl -L https://github.com/navidrome/navidrome/releases/latest/download/navidrome-linux-amd64 -o navidrome
  1. Change the downloaded file to an executable by running the following command:
chmod +x ./navidrome
  1. Move the Navidrome executable to a system directory by running the following command:
sudo mv ./navidrome /usr/local/bin/

Step 3: Create a User

Create a separate user for the Navidrome server by running the following command:

sudo useradd -r -s /bin/false navidrome

Step 4: Create a Systemd Service for Navidrome

  1. Create a new service file by running the following command:
sudo nano /etc/systemd/system/navidrome.service
  1. Paste the following content into the file:
[Unit]
Description=Navidrome Music Server

[Service]
User=navidrome
Group=navidrome
Type=simple
ExecStart=/usr/local/bin/navidrome

[Install]
WantedBy=default.target
  1. Save and close the file by pressing CTRL+X, Y, and Enter.

  2. Reload the Systemd daemon and enable the Navidrome service by running the following commands:

sudo systemctl daemon-reload
sudo systemctl enable navidrome

Step 5: Start and Verify Navidrome

  1. Start the Navidrome service by running the following command:
sudo systemctl start navidrome
  1. Open your web browser and access http://localhost:4533.

  2. You should now see the Navidrome web interface. Use it to configure your music library and enjoy your music remotely.

Conclusion

You have successfully installed Navidrome on your Elementary OS system. You can now access your music collection via the Navidrome web interface from any device with an internet connection. Refer to the Navidrome documentation for more configuration options and features.

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!