Navidrome is a free, open-source music streaming server that can be used to play music files from your computer as well as the internet. It is a lightweight and fast music server, making it perfect for running on smaller devices, such as a Raspberry Pi. In this tutorial, we will learn how to install Navidrome on Clear Linux Latest.
Before we proceed, you should have the following:
Before we install anything on our Clear Linux system, it is always a good practice to update the system to the latest version.
To update the system, run the following command:
$ sudo swupd update
Navidrome requires a few dependencies that must be installed before we proceed:
To install the required dependencies, run the following command:
$ sudo swupd bundle-add devpkg-libav
$ sudo swupd bundle-add misc-compat
We can install Navidrome directly from their website. Therefore, we download the latest version by running the following command:
$ curl -LO https://github.com/navidrome/navidrome/releases/download/v0.X.X/navidrome-X.X.X-linux-x64.tar.gz
You can replace X.X.X
with the latest version number.
Once the download finishes, we should extract the archive's contents and move them to /opt/navidrome
using the following commands:
$ tar zxvf navidrome-X.X.X-linux-x64.tar.gz
$ sudo mkdir /opt/navidrome
$ sudo mv navidrome-*/* /opt/navidrome/
Then we have to run the following command to give the necessary read and write permissions to the log and data folders:
$ sudo chmod -R 755 /opt/navidrome/
Before we start Navidrome with the default settings, we should configure it to use a different port than the default one.
To do that, we need to create a navidrome.toml
file in the /opt/navidrome/
directory. You can create the navidrome.toml
file and add the following configurations:
bind_address = "0.0.0.0"
bind_port = 8989
data_dir = "/opt/navidrome/data/"
log_dir = "/opt/navidrome/log/"
Once you have created and added the above configurations to the navidrome.toml
file, you can start Navidrome by running the following command:
$ sudo /opt/navidrome/navidrome
Navidrome's web interface should now be available to access by visiting the following URL in your preferred web browser:
http://<server_ip>:8989/
Replace server_ip
with your Clear Linux system's IP address.
You should see the Navidrome login page, and you can start streaming your favorite music.
Conclusion
In this tutorial, we learned how to install Navidrome on Clear Linux. Navidrome is a fast and lightweight music server that is perfect for playing music on smaller devices, such as a Raspberry Pi. By following the steps outlined in this tutorial, you should now be able to access Navidrome's web interface and stream your favorite music with ease.
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!