How to Install Sonarr on Debian Latest
Sonarr is a popular open-source TV show management tool that makes it easy to automatically download and manage your favorite shows. In this tutorial, we will walk you through the steps to install Sonarr on Debian.
Prerequisites
Before we begin, ensure that the following prerequisites are met:
- A Debian Latest server
- Access to a terminal with sudo privileges
- An active internet connection
Step 1: Add Mono Repositories
Sonarr is developed using the Mono framework, which is a .NET-compatible open-source platform. We need to add the Mono repositories to our system first.
- Open your terminal and type the following command to add the Mono repositories.
$ sudo apt install dirmngr gnupg apt-transport-https ca-certificates
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
- Update your repositories.
$ sudo apt update
Step 2: Install Sonarr
Now that we have added the Mono repositories, we can proceed to install Sonarr.
- Type the following command to install the required packages.
$ sudo apt install libcurl4 openssl libicu63 mediainfo sqlite3 libsqlite3-dev
- Next, download the Sonarr package.
$ wget https://download.sonarr.tv/v3/phantom-develop/latest/NzbDrone.phantom-develop-latest.linux.tar.gz
- Extract the package and move it to the desired location on your system. In this example, we will place it in
/opt/sonarr.
$ sudo tar -xvzf NzbDrone.phantom-develop-latest.linux.tar.gz
$ sudo mv NzbDrone/* /opt/sonarr
- Finally, start the Sonarr service.
$ sudo systemctl start sonarr
Step 3: Access Sonarr
Congratulations! You have successfully installed Sonarr on your Debian Latest server.
By default, Sonarr listens on port 8989. To access the Sonarr interface, open a web browser and navigate to http://your-server-ip:8989.
You should now be able to add your media folders and TV shows to Sonarr and start automatically downloading and managing your favorite shows.
Conclusion
In this tutorial, we have shown you how to install Sonarr on your Debian Latest server. By following these steps, you can easily set up Sonarr and start managing your TV shows with ease.