How to Install Navidrome Music Server on OpenSUSE Latest

Navidrome Music Server is a self-hosted music streaming server that allows you to listen to your music collection from different devices. This tutorial will guide you through the installation of Navidrome Music Server on OpenSUSE Latest operating system.

Prerequisites

Before we begin, make sure that you have the following prerequisites:

Step 1: Install Dependencies

Navidrome Music Server requires the following dependencies to be installed on your system:

To install these dependencies, open your terminal and execute the following command:

sudo zypper install ffmpeg libtag1-devel netcat-openbsd

Step 2: Install Navidrome

To install Navidrome on OpenSUSE Latest, perform the following steps:

  1. Download the Navidrome binary file for your system using the following command:

    wget https://github.com/navidrome/navidrome/releases/latest/download/navidrome-linux-amd64
    
  2. Move the downloaded binary file to the /usr/local/bin directory:

    sudo mv navidrome-linux-amd64 /usr/local/bin/navidrome
    
  3. Make the binary file executable:

    sudo chmod +x /usr/local/bin/navidrome
    

Step 3: Create a Systemd Service File

To enable Navidrome as a system service, you need to create a systemd service file. You can use any text editor to create this file. In this example, we will use nano.

  1. Open a new file in the /etc/systemd/system directory:

    sudo nano /etc/systemd/system/navidrome.service
    
  2. Add the following content to the navidrome.service file:

    [Unit]
    Description=Navidrome Music Server
    After=network.target
    
    [Service]
    ExecStart=/usr/local/bin/navidrome
    User=root
    Restart=always
    
    [Install]
    WantedBy=multi-user.target
    

    Save and exit the file.

  3. Reload the systemd configuration:

    sudo systemctl daemon-reload
    

Step 4: Start the Navidrome Service

To start the Navidrome service, execute the following command:

sudo systemctl start navidrome

You can check the status of the service using the following command:

sudo systemctl status navidrome

If the service is running correctly, you should see an output similar to the one below:

● navidrome.service - Navidrome Music Server
   Loaded: loaded (/etc/systemd/system/navidrome.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2021-08-15 08:58:25 EDT; 7min ago
 Main PID: 1234 (navidrome)
    Tasks: 20 (limit: 46382)
   Memory: 173.4M
   CGroup: /system.slice/navidrome.service
           └─1234 /usr/local/bin/navidrome

Aug 15 08:58:25 navidrome systemd[1]: Started Navidrome Music Server.

Step 5: Access the Navidrome Web Interface

Navidrome runs on port 4533 by default. To access the web interface, open your web browser and navigate to http://<ip-address>:4533.

Replace <ip-address> with the IP address of your server. If you are accessing the server from the same machine, you can use http://localhost:4533 instead.

On the login screen, enter the default username and password:

After logging in, you can start importing your music collection and enjoy listening to your favorite tracks on any device.

Conclusion

In this tutorial, we have shown you how to install Navidrome Music Server on OpenSUSE Latest. Now you can stream your favorite music from anywhere using Navidrome.

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!