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
- A computer running Elementary OS
- Root access to the computer
- An internet connection
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
- 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
- Change the downloaded file to an executable by running the following command:
chmod +x ./navidrome
- 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
- Create a new service file by running the following command:
sudo nano /etc/systemd/system/navidrome.service
- 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
Save and close the file by pressing
CTRL+X,Y, andEnter.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
- Start the Navidrome service by running the following command:
sudo systemctl start navidrome
Open your web browser and access
http://localhost:4533.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.