5h4d0w.net

The Cat's den

Install radarr on Debian 10

- Posted in SysAdmin Stuff by

radarr logo

What is radarr ?

Radarr is an independent fork of Sonarr reworked for automatic download of movies via Usenet and BitTorrent.
The full capabilities of radarr can be found on GitHub.

How to install radarr on Debian 10 ?

Add the Mono repository to the system

Install the pre-requisite software

apt install apt-transport-https dirmngr gnupg ca-certificates curl mediainfo

Grab the Mono repo keys from the keyserver

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Add the repo to your system

echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list

Refresh the sources

apt update

Install Mono

apt install mono-devel

Install radarr

Create a new user

useradd STUFF STUFF

Change working directory to /tmp/

cd /tmp/

Download latest radarr release from GitHub

wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.1450/Radarr.develop.0.2.0.1450.linux.tar.gz

Extract the downloaded archive to /opt/

tar -xf Radarr* -C /opt/

Grant ownership of the radarr installation to the previously created user

chown -R radarr:radarr /opt/Radarr

Start radarr at boot

Create a systemd service file for the radarr daemon with nano /etc/systemd/system/radarr.service containing :

[Unit]
Description=Radarr Daemon
After=syslog.target network.target

[Service]
User=radarr
Group=radarr
Type=simple
ExecStart=/usr/bin/mono /opt/Radarr/Radarr.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

Enable radarr at boot

systemctl enable radarr.service

Launch the radarr service

systemctl start radarr.service

Access radarr

You should now be able to use your fresh radarr installation by pointing a browser to http://server.ip:7878 !