Note: Raspberry Pi OS and Raspbian are both flavors of Debian
For the Debian / Ubuntu / Raspbian beginners there isn't an Apt Repository or Deb package.
If you want an easy life, follow this community provided and maintained Easy Install script for a base Debian (Raspbian / Raspberry Pi OS) / Ubuntu install.
For the official installation instructions that are 'Hands on' follow the Debian / Ubuntu Hands on Install steps further below.
It is assumed you have a basic knowledge of linux or the ability to google / learn as necessary. Otherwise it is suggested to use an OS you know and understand
You'll need to install the binaries using the below commands.
The steps below will download Prowlarr and install it into
/opt
Prowlarr will run under the userprowlarrand groupprowlarr
Prowlarr's configuration files will be stored in/var/lib/prowlarr
sudo apt install curl sqlite3
Warning: Ignoring the below prerequisites will result in a failed installation and non-functional application.
Installation Prerequisites
The below instructions are based on the following prerequisites. Change the instructions as needed to suit your specific needs if necessary.
* The userprowlarris created
* You created the directory/var/lib/prowlarrand ensured the userprowlarrhas read/write permissions for it
By continuing below, you acknowledge that you have read and met the above requirements.
dpkg --print-architecture
arch=x64arch=armarch=arm64wget --content-disposition 'http://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64'
tar -xvzf Prowlarr*.linux*.tar.gz
/opt/sudo mv Prowlarr/ /opt
This assumes you have created the user and will run as the user
prowlarrand groupprowlarr. You may change this to fit your usecase.
sudo chown prowlarr:prowlarr -R /opt/Prowlarr
The below systemd creation script will use a data directory of
/var/lib/prowlarr. Ensure the directory exists or modify the path as needed. For the default data directory of/home/$USER/.config/Prowlarrsimply remove the-dataargument. Note: that$USERis the User Prowlarr runs as and is defined below.
cat << EOF | sudo tee /etc/systemd/system/prowlarr.service > /dev/null
[Unit]
Description=Prowlarr Daemon
After=syslog.target network.target
[Service]
User=prowlarr
Group=prowlarr
Type=simple
ExecStart=/opt/Prowlarr/Prowlarr -nobrowser -data=/var/lib/prowlarr/
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl -q daemon-reload
sudo systemctl enable --now -q prowlarr
rm Prowlarr*.linux*.tar.gz
Typically to access the Prowlarr web GUI browse to http://{Your server IP Address}:9696
If Prowlarr did not appear to start, then check the status of the service:
sudo journalctl --since today -u prowlarr
If Prowlarr v2.1.5.5216+ fails to start on older end-of-life systems (Debian 10, Debian 11, Synology DSM, Ubuntu 18, Ubuntu 20) due to SQLite/GLIBC compatibility issues, see the FAQ entry for the workaround.
To uninstall and purge:
Warning: This will destroy your application data.
sudo systemctl stop prowlarr
sudo rm -rf /opt/Prowlarr
sudo rm -rf /var/lib/prowlarr
sudo rm -rf /etc/systemd/system/prowlarr.service
sudo systemctl -q daemon-reload
To uninstall and keep your application data:
sudo systemctl stop prowlarr
sudo rm -rf /opt/Prowlarr
sudo rm -rf /etc/systemd/system/prowlarr.service
sudo systemctl -q daemon-reload