Awesome
PiJARR
PiJARR is a shell script designed to simplify the installation and configuration of a suite of media management tools on Debian-based distributions. This script is compatible with various systems, including Debian 11 (bullseye), Debian 12 (bookworm), Raspberry Pi OS, Ubuntu, Pop!_OS, Kali Linux, and more. It supports both ARM (Raspberry Pi) and Intel/AMD x64 architectures.
WHAT ARR THEY?
PiJARR streamlines the deployment of the following applications:
- Jackett: Integrates your favorite torrent trackers with a unified API.
- Sonarr: Acts as an Internet PVR for Usenet and BitTorrent, automating TV show downloads.
- Radarr: Manages movie collections for Usenet and BitTorrent users.
- Lidarr: Organizes music collections from Usenet and BitTorrent sources.
- Readarr: Manages ebook collections, catering to both Usenet and BitTorrent users.
- Prowlarr: Serves as an indexer manager/proxy, integrating with applications like Sonarr, Radarr, Lidarr, and Readarr.
- Bazarr: Enhances Sonarr and Radarr by managing and downloading subtitles.
LATEST UPDATE
- Added support for Sonarr v4.
- Integrated an installation option for qBittorrent-nox, a headless torrent client, defaulting to port 8080.
- Expanded functionality to include Bazarr installation.
- Enhanced script with code cleanup and improved validation.
TEST ENVIRONMENTS
PiJARR has been tested in the following setups:
System OS.........: Debian GNU/Linux 12 (bookworm)
System Kernel.....: 6.1.0-rpi7-rpi-v8
System Arch.......: aarch64
System Proc.......: Raspberry Pi 4
System OS.........: Debian GNU/Linux 12 (bookworm)
System Kernel.....: 6.1.0-16-amd64
System Arch.......: x86_64
System Proc.......: Intel(R) Core(TM) i7
Raspberry Pi testing version
raspberrypi.com/software/operating-systems/
Raspberry Pi OS Lite
Release date: December 11th 2023
System: 64-bit
Kernel version: 6.1
Debian version: 12 (bookworm)
NOTES
-
Testing Environment: The script has been primarily tested on clean, vanilla Debian installations. While it should work on other Debian-based OSes, minor adjustments might be needed. Please note that due to changes in package sources, occasional breaks can occur. This project is updated in my spare time and is not actively monitored or maintained.
-
Desktop Environment: No desktop environment like GNOME or KDE is required. The script is designed to run headless on a minimal Debian installation with basic system tools.
-
Hardware Recommendations: The script is compatible with Raspberry Pi 3, but installation and performance may be slow. For optimal performance, a Raspberry Pi 4, other x64 hardware, or a virtual machine is recommended.
-
Installation Notes: Larger dependencies, such as Mono, may appear to stall or hang during installation, especially on slower hardware like Raspberry Pi 3. However, they will eventually complete.
-
Bazarr Dependencies: Bazarr requires additional Python packages. It will be configured to run in a Python virtual environment (venv) to avoid dependency conflicts.
-
Application Removal: The removal script will delete everything in
/var/lib/{appname}
and/opt/{appname}
. Please note that the removal process only works if the application was originally installed using the PiJARR script. -
Headless Torrent Client: The menu now includes qbittorrent-nox (headless BitTorrent client). This client is suitable for machines without a graphical desktop environment. For those who need a desktop GUI torrent client, you can install them using the
apt
command as shown below:
# qBittorrent desktop GUI torrent client
sudo apt install qbittorrent
# transmission desktop GUI torrent client
sudo apt install transmission
EXAMPLE - MENU OPTIONS
Below is an example of the menu options presented by the PiJARR script:
▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓
▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓
▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓
▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓ ▓▓▓▓▓
==============
Menu Options
==============
1. Install ALL (jackett sonarr lidarr radarr readarr prowlarr bazarr)
2. Install jackett only
3. Install sonarr only
4. Install lidarr only
5. Install radarr only
6. Install readarr only
7. Install prowlarr only
8. Install bazarr only
9. Install qbittorrent-nox (headless BitTorrent client)
10. Remove ALL (jackett sonarr lidarr radarr readarr prowlarr bazarr)
11. Remove jackett only
12. Remove sonarr only
13. Remove lidarr only
14. Remove radarr only
15. Remove readarr only
16. Remove prowlarr only
17. Remove bazarr only
18. Remove qbittorrent-nox
19. Show active services
20. Show application default ports
21. Show application source urls
22. Exit
DEFAULT APP PORT NUMBERS
Once all applications are installed and the services are started they can be accessed at the following port numbers:
Jackett: http://hostip:9117
Sonarr: http://hostip:8989
Lidarr: http://hostip:8686
Radarr: http://hostip:7878
Readarr: http://hostip:8787
Prowlarr: http://hostip:9696
Bazarr: http://hostip:6767
qBittorrent-nox: http://hostip:8080
USAGE
Method 1 (Quick easy setup):
Use the wget or curl command lines shown below for quick setup.
sudo sh -c "$(wget -qO- https://raw.githubusercontent.com/pijarr/pijarr/main/setup.sh)"
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/pijarr/pijarr/main/setup.sh)"
Method 2: Clone and run locally
(Optional) This method allows you to edit and customize the script as needed.
git clone https://github.com/pijarr/pijarr.git
sudo sh pijarr/setup.sh