Radarr is an open-source movie management tool that automatically downloads movies when they become available on torrent or Usenet sites. In this tutorial, we will guide you through the steps to install Radarr on Alpine Linux.
Before installing Radarr, we need to install some dependencies. Run the following commands in the terminal:
apk update
apk add mono --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
apk add curl
The above commands will update the package list, install Mono and curl packages.
Download Radarr by running the following command:
curl -L -O https://radarr.video/latest/Radarr.develop.0.2.0.1450.linux.tar.gz
Extract the downloaded file:
tar -xzvf Radarr.develop.0.2.0.1450.linux.tar.gz
Move the extracted files to the /opt/radarr
directory:
mv Radarr /opt/radarr
Create a new user for Radarr:
adduser -D -H radarr
Change the ownership of the /opt/radarr
directory to the newly created user:
chown -R radarr:radarr /opt/radarr
To start Radarr, navigate to the /opt/radarr
directory:
cd /opt/radarr
Run the following command to start Radarr:
mono Radarr.exe
Wait for the installation to complete, and you will see the following message in the terminal:
Press any key to exit...
Press any key to exit the installation.
If you want to run Radarr as a service, follow the steps below:
Create a new file in the etc/init.d
directory:
nano /etc/init.d/radarr
Paste the following code into the new file:
#!/sbin/openrc-run
name=radarr
command="/usr/bin/mono /opt/radarr/Radarr.exe --nobrowser --data=/var/lib/radarr/"
command_user=radarr
directory="/opt/radarr"
command_args="--nobrowser --data=/var/lib/radarr/"
pidfile="/run/${name}/${name}.pid"
output_log="/var/log/${name}.log"
error_log="/var/log/${name}-error.log"
depend() {
need net
before nginx
}
# Include openrc-run below, then execute it
source /sbin/openrc-run
This code will run Radarr as a service.
Save and close the file.
Change the permissions of the radarr
file:
chmod +x /etc/init.d/radarr
Start the Radarr service:
service radarr start
Verify that the service is running:
service radarr status
You should see the following output if the service is running:
* Caching service dependencies ... [ ok ]
* radarr [ started ]
In this tutorial, we have outlined the steps to install Radarr on Alpine Linux Latest. You can now automate the downloading of your favorite movies using Radarr.
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!