How to Install Lidarr on Linux Mint
Lidarr is a music collection manager for downloading and organizing music. In this tutorial, we will guide you through the process of installing Lidarr on Linux Mint.
Prerequisites
Before you start, ensure that you have the following prerequisites:
- A system running Linux Mint
- A terminal emulator such as XTerm, GNOME Terminal, or Konsole
- Basic knowledge of the Linux command-line interface
Step-by-Step Guide
Follow the below steps to install Lidarr on Linux Mint.
Step 1 - Install mono-devel
Lidarr is built using the .NET framework, so we need to install the mono-devel package.
Open a terminal and type:
sudo apt install mono-devel -y
Step 2 - Download Lidarr
To download the Lidarr package, use the wget command:
wget https://github.com/Lidarr/Lidarr/releases/download/v0.8.1.2135/Lidarr.develop.0.8.1.2135.linux.tar.gz
The above command downloads Lidarr's latest version. You can always visit https://github.com/Lidarr/Lidarr/releases to download the latest package.
Step 3 - Extract the Lidarr Package
After downloading, extract the Lidarr package:
tar -xzvf Lidarr.develop.0.8.1.2135.linux.tar.gz
Step 4 - Move the Lidarr Folder to /opt
Move the Lidarr folder to the opt directory:
sudo mv Lidarr/ /opt/
Step 5 - Create a systemd Service for Lidarr
Create a systemd service file for Lidarr:
sudo nano /etc/systemd/system/lidarr.service
Add the below code to the file.
[Unit]
Description=Lidarr Daemon
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/bin/mono /opt/Lidarr/Lidarr.exe
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Save and close the file.
Step 6 - Reload the Systemd Daemons
Reload the systemd daemons:
sudo systemctl --system daemon-reload
Step 7 - Start the Lidarr Service
Start the Lidarr service:
sudo systemctl start lidarr
Step 8 - Enable Lidarr on Boot
Enable the Lidarr service to start when the system boots:
sudo systemctl enable lidarr
Step 9 - Accessing Lidarr WebUI
Open a web browser and access Lidarr's UI at http://localhost:8686.
Conclusion
In this tutorial, we have explained how to install Lidarr on Linux Mint. With Lidarr installed, you can easily download and organize your music collection.