How to Install Navidrome Music Server on EndeavourOS Latest
Navidrome is a music server that allows you to stream your own music collection online. It is an open-source and self-hosted alternative to popular music streaming services such as Spotify, Apple Music, and more. In this tutorial, we will guide you through the simple steps to install Navidrome Music Server on EndeavourOS Latest.
Prerequisites
Before we start the installation process, make sure that you have the following prerequisites:
- A user account with sudo privileges on your EndeavourOS system.
- An updated system with the latest package updates.
Step 1: Install Dependencies
First, we need to ensure that our system is up-to-date and install some dependencies required by Navidrome. To do this, run the following command:
sudo pacman -Syu curl ffmpeg libicu sqlite
Step 2: Install Navidrome Music Server
Now that we have installed the required dependencies, we can proceed with the installation of Navidrome Music Server. There are various ways to install Navidrome, but we will install it using the binary files provided by the official website.
- Download the latest version of Navidrome Music Server for Linux from the official website.
- Once the download is complete, extract the compressed file using the following command:
tar zxvf navidrome-linux-amd64.tar.gz
- Move the extracted directory to your desired location. In this tutorial, we will move it to the
/optdirectory:
sudo mv navidrome /opt/
- Create a symlink to the Navidrome binary so that it will be available system-wide:
sudo ln -s /opt/navidrome/navidrome /usr/local/bin/navidrome
- Next, you need to create a systemd service file to manage the Navidrome service. To do this, run the following command:
sudo nano /etc/systemd/system/navidrome.service
- Paste the following code into
navidrome.service:
[Unit]
Description=Navidrome Music Server
After=network.target
[Service]
User=<your_username>
Groups=<your_username>
Type=simple
ExecStart=/usr/local/bin/navidrome
WorkingDirectory=/opt/navidrome/
Restart=always
[Install]
WantedBy=multi-user.target
Save and close the file.
Reload the systemd configuration:
sudo systemctl daemon-reload
- Enable and start the Navidrome service:
sudo systemctl enable navidrome.service
sudo systemctl start navidrome.service
Step 3: Configure Navidrome Music Server
Navidrome Music Server is now installed and running on your system. To access the server, open your web browser and navigate to http://<your_server_ip>:4533. You should see the Navidrome login page, where you can create a new user account and start uploading your music collection.
Congratulations! You have successfully installed Navidrome Music Server on your EndeavourOS system.