How to Install Lidarr on Debian Latest

Lidarr is an open-source music collection manager and indexer that automatically searches for and downloads music from various sources. In this tutorial, we will show you how to install Lidarr on Debian Latest.

Prerequisites

Before starting, you need to have the following:

Step 1: Install Mono

Lidarr is developed using the .NET framework, so we need to install Mono to run Lidarr on Debian Latest. You can install Mono by running the following command:

sudo apt-get install mono-complete

Step 2: Install Lidarr

Once Mono is installed, we can download and install Lidarr on Debian Latest. Follow the below steps to download and install Lidarr:

  1. Download the Lidarr binary package by running the following command in the terminal:
wget https://github.com/lidarr/Lidarr/releases/download/v0.7.1.1461/Lidarr.master.0.7.1.1461.linux.tar.gz
  1. Extract the downloaded package using the following command:
tar -zxvf Lidarr.master.0.7.1.1461.linux.tar.gz -C /opt
  1. Once the extraction is complete, assign ownership of the /opt/Lidarr folder to the current user by running the following commands:
sudo chown -R $USER:$USER /opt/Lidarr
  1. Lidarr uses port 8686 for web access. So, open this port in the firewall by running the following command:
sudo ufw allow 8686/tcp

Step 3: Configure and Run Lidarr

Now that Lidarr is installed on your Debian Latest system, we need to configure and run it. Follow the below steps to configure Lidarr:

  1. First, create a system service file for Lidarr. To do this, run the following command:
sudo nano /etc/systemd/system/lidarr.service
  1. Paste the following configuration into the editor:
[Unit]
Description=Lidarr Daemon

[Service]
User=<YOUR_USER_NAME>
Group=<YOUR_USER_NAME>
Type=simple
ExecStart=/usr/bin/mono /opt/Lidarr/Lidarr.exe -nobrowser
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
  1. Save and close the editor. Then, reload the systemctl daemon to update the service file:
sudo systemctl daemon-reload
  1. Enable the Lidarr service and start it by running the following commands:
sudo systemctl enable lidarr
sudo systemctl start lidarr
  1. Check the status of the Lidarr service by running the following command:
sudo systemctl status lidarr
  1. Lidarr is now running on your Debian Latest system. You can access the Lidarr web interface by opening up your web browser and navigating to the following address:
http://<YOUR_SERVER_IP>:8686

Conclusion

That's it! You have successfully installed Lidarr on your Debian Latest system. Lidarr is an excellent tool for managing your music collection and indexing your music files. Enjoy!

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!