How to Install Sonarr on Void Linux

Sonarr is a popular open source tool used for managing and downloading TV shows. In this tutorial, we will guide you through the installation process for Sonarr on Void Linux.

Prerequisites

Before installing Sonarr on Void Linux, ensure that you have the following:

Step 1: Install Required Dependencies

Start by updating your system package index by running the command:

sudo xbps-install -S

Next, install the required dependencies for Sonarr:

sudo xbps-install -Sy mediainfo sqlite3 mono unzip

Step 2: Download and Install Sonarr

Navigate to the Sonarr website at https://sonarr.tv/ and download the latest version of Sonarr for Linux.

Once the download is complete, extract the downloaded file to a directory of your choice:

sudo unzip /path/to/sonarr.zip -d /opt/

Set the correct ownership for the extracted files:

sudo chown -R ${USER}:${USER} /opt/Sonarr

Step 3: Configure Sonarr

Create a systemd service file for Sonarr:

sudo nano /etc/systemd/system/sonarr.service

Then, paste the following configuration into the file:

[Unit]
Description=Sonarr Daemon
After=network.target

[Service]
User=${USER}
Group=${USER}
Type=simple
ExecStart=/usr/bin/mono --debug /opt/Sonarr/Sonarr.exe -nobrowser

[Install]
WantedBy=multi-user.target

Save the file and exit the text editor.

Reload the systemd daemon and enable Sonarr to start on boot:

sudo systemctl daemon-reload
sudo systemctl enable sonarr.service

Step 4: Start Sonarr

Start the Sonarr service using the following command:

sudo systemctl start sonarr.service

Verify that Sonarr is running by checking its status:

sudo systemctl status sonarr.service

You should see an output similar to this:

● sonarr.service - Sonarr Daemon
   Loaded: loaded (/etc/systemd/system/sonarr.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-01-01 12:00:00 EAT; 10s ago
  Process: 1000 ExecStart=/usr/bin/mono --debug /opt/Sonarr/Sonarr.exe -nobrowser (code=exited, status=0/SUCCESS)
 Main PID: 1005 (mono)
    Tasks: 16 (limit: 2217)
   Memory: 148.7M
      CPU: 196ms
   CGroup: /system.slice/sonarr.service
           └─1005 /usr/bin/mono --debug /opt/Sonarr/Sonarr.exe -nobrowser

Step 5: Access Sonarr Web Interface

Sonarr's web interface can be accessed at http://localhost:8989, or if you're accessing it remotely, replace localhost with the IP address of your server.

You should be redirected to the Sonarr setup wizard, where you can configure the application to your preferences.

Conclusion

Congratulations, you have successfully installed Sonarr on your Void Linux system. You can now use it to manage and download your TV shows. You may also want to configure Sonarr to work with a torrent client, so you can start downloading TV shows automatically.

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!