Categories
Self-Hosted

How to Install Jackett on Ubuntu 20.04

Here you will learn how to install Jackett on Ubuntu 20.04. Particularly, you will learn how to install Mono, a C# runtime that Jackett is programmed in, and download the latest Jackett release from GitHub and install it on Ubuntu 20.04. We will also add a systemd service for Jacket to autostart on boot.

Jackett & Ubuntu 20.04

Jackett converts torrent trackers to the feed format that Sonarr or Radarr can read and consume. In other words, it serves as API (Application Programming Interface) of torrent tracker websites. Here the APIs can be Sonarr, Radarr. Due to this purpose, Jackett really puts a jacket on the torrent websites.

Ubuntu 20.04, as the newest version of Ubuntu’s most common Linux distribution, is launched recently on April 2020 and has regular support until April 2025. It will hit the end of life up to April 2030, for 10 years. Compared to Ubuntu 18.04 (and also both 14.04 and 16.04), this update introduces a new Yaru theme and supports night mode, which is perfect for your inner clock. It has GNOME 3.6 which has the performance improved. Most notably, Ubuntu 20.04 comes with NVIDIA Linux driver itself, so you don’t need to take extra efforts to install it in the “Software & Updates” program in the “Additional Drivers” tab.

You may just have installed Ubuntu 20.04 and want to have Jackett installed to use it together with Sonarr, Radarr, at least for achieving your favorite TV shows or movies that you bought. This tutorial was tested on Ubuntu 20.04, but if you set up Sonarr on your Raspberry Pi, it can also refer to Debian 10 or Raspberry Pi operating system. This tutorial will certainly also work on Ubuntu-based Linux ditros, such a POP OS.

Prerequisite

You will need to have a Debian-based Linux distro installed. Ideally it should be Ubuntu 20.04 but can also be POP OS or Linux Mint.

Because we will install a systemd service, you should also have sudo/root access to your Ubuntu 20.04 computer.

Now let’s get started. It’s easy to install Jackett on Ubuntu and will just take 3 steps.

Step 1 — Install Mono, the framework Jackett is written in

Mono is an open source implementation of the C#.Net framework, originally aimed at Linux. We must install it as Jackett is written in C # and need the runtime of the Mono.

We will install mono-devel from mono’s own official Ubuntu 20.04 repository, which is also recommended by the official Jackett installation manual. However, if you prefer a bundled mono program, you can install mono-devel directly by running sudo apt install mono-devel.

Install needed packages

To install mono’s official package, we will first install gnupg and ca-certificatesgnupg is named GNU privacy guard, which is built at GNU organization and used to protect network communication and data storage by encrypting data with digital signatures. ca-certificates includes certificate authorities who grant the digital signatures (certificate authorities), so one can verify if the data is authentically transferred through the HTTPS protocol.

sudo apt install gnupg ca-certificates

If you see similar output as follows, it suggests that the two software is installed. As you see, the two packages are already installed on my Ubuntu 20.04 machine, but it is better to run them anyway to avoid problems in later steps if we do not have them installed.

Output of "sudo apt install gnupg ca-certificates" for mono in Jackett installation
Reading package lists… Done
Building dependency tree
Reading state information… Done
ca-certificates is already the newest version (20190110ubuntu1).
gnupg is already the newest version (2.2.19-3ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.

Add Mono’s official key

With the needed tools installed, we will now use apt-key to install the public key 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF owned by Xamarin, which is the company that develops Mono. We use the adv parameter here to pass advanced parameters to apt-key such as key server and the key string. With this Mono key installed, mono related packages that were signed by this key would be authenticated and viewed trusted.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

The output will be as follows. You can see the key owner is Xamarin Public Jenkins (auto-signing) and its associated email (releng@xamarin.com). Jenkins is an automation server for software building, testing, and deployment.

Adding mono's key for Jackett installation: Output of sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
Executing: /tmp/apt-key-gpghome.t1ACjSQp0Q/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
gpg: key A6A19B38D3D831EF: public key "Xamarin Public Jenkins (auto-signing) releng@xamarin.com" imported
gpg: Total number processed: 1
gpg: imported: 1

Add mono’s Ubuntu 20.04 repository

Now we will add Mono project’s official Ubuntu 20.04 repository (APT data source) to the mono-official-stable.list file in the directory /etc/apt/sources.list.d/. If you see the output deb https://download.mono-project.com/repo/ubuntu stable-focal main, the repo is successfully enabled.

echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
Add mono's Ubuntu 20.04 repository

Now we run sudo apt update to get all of the package meta information from Mono’s repo. Technically, we are resynchronizing the index files for the packages. You will see the output in the screenshot below. Note that you will receive a warning about the repo that doesn’t support i386 architecture, safely ignore it as the chases are you are running on a 64-bit machine.

Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘https://download.mono-project.com/repo/ubuntu stable-focal InRelease’ doesn’t support architecture ‘i386’

sudo apt update
sudo apt update after adding mono's Ubuntu repo
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://packages.ros.org/ros/ubuntu focal InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:6 https://download.mono-project.com/repo/ubuntu stable-focal InRelease [4,416 B]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:9 https://download.mono-project.com/repo/ubuntu stable-focal/main amd64 Packages [46.6 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [23.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [94.0 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [54.1 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [21.1 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [16.6 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [208 B]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [48.5 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [35.0 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [90.5 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [21.4 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [30.5 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [2,240 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [30.5 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [21.7 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [14.9 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [21.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [1,264 B]
Get:27 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [532 B]
Fetched 891 kB in 1s (756 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
55 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'

Install mono-devel package

Now we will finally install the Mono package, more precisely the mono-devel package. As its name suggests, this package contains development tools and pulls in the development stack for Mono. The following screenshot shows the output. Press enter or type Y and press enter to continue. After mono installation, it will take 382 MB of disk space. The installation will be slow as it will compile on your machine.

sudo apt install mono-devel
installing mono-devel after "sudo apt install mono-devel"

Very good. Now you have mono installed on your Ubuntu 20.04 computer, the most important dependency of Jackett installation.

To verify that, let’s test the version of Mono. You can see similar output like the screenshot blow. In my case the version 6.8.0.123 of the Mono JIT compiler is installed. JIT means just-in-time, meaning it will compile on fly.

mono --version
image 49

Reference

Step 2 — Download latest Jackett release

Similar to Radarr, but unlike Sonarr, Jackett does not come with its own Ubuntu or Debian repository for you to install on your Ubuntu 20.04 computer, so we have to download the latest release form Jackett’s official GitHub repo. GitHub is the social network for developers and is super popular, Jackett developer also put the code on GitHub.

First, to download the latest release archive in .tar.gz format, which is very close to the common zip format, we will run the following command, curl, to extract information from GitHub’s release API. (If you see “Command ‘curl’ not found, did you mean”, simply install it by sudo apt install curl.)

curl -L -O $( curl -s https://api.github.com/repos/Jackett/Jackett/releases | perl -pe 's/^.+?browser_download_url.+?(https.+?Jackett.Binaries.LinuxAMDx64.tar.gz).+/$1/;' )
Downloading the latest Jackett release from its official GitHub repo
vh@varhowto-com:~$ curl -L -O $( curl -s https://api.github.com/repos/Jackett/Jackett/releases | grep Jackett.Binaries.LinuxAMDx64.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4 )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--100 646 100 646 0 0 6333 0 --:--:-- --:--:-- --:--:-- 6333
0 42.0M 0 406k 0 0 494k 0 0:01:27 --:-- 4 42.0M 4 2005k 0 0 1095k 0 0:00:39 0:00 10 42.0M 10 4623k 0 0 1634k 0 0:00:26 0:00 19 42.0M 19 8414k 0 0 2202k 0 0:00:19 0:00 30 42.0M 30 12.8M 0 0 2731k 0 0:00:15 0:00 43 42.0M 43 18.2M 0 0 3213k 0 0:00:13 0:00 58 42.0M 58 24.7M 0 0 3718k 0 0:00:11 0:00 75 42.0M 75 31.7M 0 0 4152k 0 0:00:10 0:00 94 42.0M 94 39.5M 0 0 4591k 0 0:00:09 0:00100 42.0M 100 42.0M 0 0 4730k 0 0:00:09 0:00:09 --:--:-- 6985k
vh@varhowto-com:~$ ls Jackett.Binaries.LinuxAMDx64.tar.gz
Jackett.Binaries.LinuxAMDx64.tar.gz

You will see output like this. The size of the Jackett is quite large, around 42 MB (The release of Radarr is only 12.6 MB). To double check we downloaded the file, run ls Jackett.Binaries.LinuxAMDx64.tar.gz or ls Jackett*. Here we downloaded the Linux version of Jackett and the 64-bit architecture. In case you are wondering if it should be UbuntuAMDx64.tat.gz, we are fine because Ubuntu is based on Debian which belongs to the Linux OS family.

ls Jackett.Binaries.LinuxAMDx64.tar.gz

Uncompress Jackett release file

Once the latest release of Jackett is downloaded, let’s now uncompress it, which is likely to locate in your home directory. Run the following with the tar command to uncompress the release file we just downloaded:

tar -xvzf Jackett.Binaries.LinuxAMDx64.tar.gz
All the files of Jackett installation

One interesting thing we can easily spot is that all the torrent provider information are in Jackett/Definitions/, so if you really want, you can add some unsupported torrent provider in this folder.

Step 3 — Start Jackett on Ubuntu 20.04

To test whether Jackett is installed on your Ubuntu 20.04 machine, let’s start it.

First, we cd to the directory we just uncompressed. We will remain in this directory as we will create a systemd service for Jackket to auto start on boot.

cd Jackett

Then simply run ./jackett. It looks like the Jackett developers already packed built files in the release archive.

./jackett

The screenshot below shows the commands we run to start Jackett:

Starting Jackett from terminal

I copy & pasted the full output here for your reference (A screenshot follows and shows the last part of the output).

vh@varhowto-com:~$ cd Jackett/
vh@varhowto-com:~/Jackett$ ./jackett
07-18 17:05:50 Info Starting Jackett v0.16.859.0
07-18 17:05:51 Info Environment version: 3.1.6 (/home/vh/Jackett/)
07-18 17:05:51 Info OS version: Unix 5.4.0.29 (64bit OS) (64bit process)
07-18 17:05:51 Info Jackett variant: CoreLinuxAmdx64
07-18 17:05:51 Info File /etc/issue: Ubuntu 20.04 LTS \n \l
07-18 17:05:51 Info Running in Docker: No
07-18 17:05:51 Info ThreadPool MaxThreads: 32767 workerThreads, 1000 completionPortThreads
07-18 17:05:51 Info App config/log directory: /home/vh/.config/Jackett
07-18 17:05:51 Info Using Proxy: No
07-18 17:05:51 Info Using HTTP Client: HttpWebClient2NetCore
07-18 17:05:51 Info Loading Cardigann definitions from: /home/vh/.config/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /home/vh/Jackett/Definitions
07-18 17:05:52 Info Cardigann definitions loaded: abnormal, alpharatio, anidex, anidub, animebytes, animetorrents, anthelion, avistaz, awesomehd, bakabt, bb, bitcityreloaded, bithdtv, bjshare, broadcasthenet, brokenstones, cgpeers, cinecalidad, cinemaz, corsarored, danishbits, dicmusic, digitalcore, digitalhive, divxtotal, elitetracker, epublibre, exoticaz, filelist, funfile, fuzer, gazellegames, gimmepeers, hdbitsapi, hdonly, hdspace, hdtorrents, hebits, horriblesubs, icetorrent, immortalseed, internetarchive, iptorrents, lostfilm, mejortorrent, milkie, morethantv, myamity, myanonamouse, ncore, nebulance, newpct, newrealworld, norbits, nordicbits, notwhatcd, orpheus, partis, passthepopcorn, pier720, piratethenet, pixelhd, polishtracker, pornolab, pretome, privatehd, psytorrents, rarbg, redacted, revolutiontt, rutracker, scenefz, scenehd, scenetime, secretcinema, shazbat, showrss, solidtorrents, speedcd, superbits, toloka, torrentbytes, torrentday, torrentech, torrentheaven, torrentleech, torrentnetwork, torrentscsv, torrentseeds, torrentsyndikat, tvstore, tvvault, xspeeds, xthor, xtremezone, yts, animetosho, uniotaku, hdturk, mteamtp, ibit, 3dtorrents, ebookparadijs, newstudio, extremetorrents, gay-torrents, torrentbomb, torrentfunk, thepiratebay, xxxtorrents, unlimitz, pirateiro, seedfile, Channelx, rptorrents, underverse, onejav, efectodoppler, firebit, twilight, kickasstorrent, estone, metaltracker, hdchina, glodls, pwtorrents, unionfansub, finvip, scenepalace, crazyspirits, pornotor, theempire, sktorrent, backups, documentarytorrents, yggcookie, eniahd, hdhome, torrentdownload, torrentgalaxyorg, nitro, rintor, hdforever, brobits, bwtorrents, teamos, galeriens, casatorrent, downloadville, kickasstorrent-kathow, xxxtor, torrentquest, torrentslocal, pornbits, spiritofrevolution, hddolby, theplace, pornforall, lastfiles, ettv, rus-media, hdbitscom, ptmsg, uniondht, speedmasterhd, totheglory, kaztorka, pornbay, demonoid, freetorrent, totallykids, sportscult, springsunday, diablotorrent, sporthd, gaytorrentru, leporno, divteam, toros, haidan, fullmixmusic, hdme, theaudioscene, xwtorrents, btdigg, dimeadozen, bteye, underversel, hddisk, ydypt, vhstapes, newretro, theshinning, newstudiol, zelkaorg, cpasbienclone, erzsebetpl, netcosmo, pornleech, takeabyte, hdolimpo, torrentz2k, ehentai, audiobookbay, academictorrents, xtremefile, film-paleis, sukebei-pantsu, 32pages, rustorka, badasstorrents, anisource, legittorrents, ethor, snowpt, desireleasers, torrenthr, tenyardtracker, vizuk, casstudiotv, hdstreet, sexypics, darktracker, greekteam, dxdhd, hdc, hamsterstudio, aftershock, cinematik, Das-Unerwartete, tasmanit, bitspyder, mvgroupforum, shokweb, hdspain, hdroute, u2, aither, concen, cooltorrent, teamhd, tekno3d, torrent-pirat, u-torrents, arenabg, tokyotosho, broadcity, cztorrent, tvchaosuk, acgsou, cinemamovies, torrentv, nyaa-pantsu, ztracker, piratbit, ilcorsaronero, btschool, insanetracker, gigatorrents, ptsbao, polishsource, bithorlo, empornium2fa, oshenpt, ilcorsaroblu, extremlymtorrents, deildu, nyaasi, cinemageddon, siambit, audionews, racingforme, moviesdvdr, beitai, dark-shadow, gamestorrents, gfxpeers, sukebeinyaasi, audiobooktorrents, fanoin, datascene, ourbits, aniRena, horrorsite, thegeeks, sosulki, exkinoray, muziekfabriek, karagarga, booktracker, empornium, skytorrentsclone, turkseed, yggtorrent, beyond-hd-oneurl, 4thd, ebooks-shares, kinozal, pixelcove, gay-torrentsorg, pussytorrents, generationfree, rutracker-ru, classix, esharenet, thevault, magnetdl, riperam, p2pbg, microbit, torrentz2, hdsky, moecat, pt99, bluebirdhd, keepfriends, marinetracker, prostylex, bigtower, bibliotik, shareuniversity, hon3yhd, yourbittorrent, proaudiotorrents, darmowetorenty, 52pt, bitru, torrenthane, magnet4you, hush, hdarea, kapaki, asiancinema, cpasbien, btnext, hdcenter, exttorrents, torrentsectorcrew, wihd, peersfm, torrentbd, btsow, scenerush, bigfangroup, torrent-explosiv, hdreactor, torrentkitty, sdbits, onlyscene, itorrent, crazyhd, blutopia, liaorencili, filmsclub, torrentleech-pl, hqsource, chdbits, rapidzona, linkomanija, uhdbits, thefallingangels, btgigs, pleasuredome, erzsebet, mypornclub, nbtorrents, torrentccf, pthome, nethd, redstartorrent, hachede, btetree, movcr, iv-torrents, soulvoice, beyond-hd, hdzone, 3evils, oxtorrent, crnaberza, majomparade, thehorrorcharnel, alexfilm, bitturk, mononokebt, Bittorrentfiles, torrent9, amigosshare, noname-club, torrentoyunindir, hdu, fantasticheaven, wdt, ast4u, gktorrent, puntorrent, speedtorrentreloaded, torlock, trezzor, p2pelite, mteamtp2fa, immortuos, rutor, torrent9clone, limetorrents, retroflix, mma-torrents, romanianmetaltorrents, shareisland, myspleen, yingk, trancetraffic, racing4everyone, losslessclub, onlineselfeducation, theshow, xiteme, magico, tellytorrent, shellife, twilightszoom, omgwtftrackr, hdbits, ptfiles, torrentdb, baibako, dxp, zamundanet, idope, RockBox, sktorrent-org, eztv, hdtime, asgaard, sharewood, learnflakes, torrent4you, nntt, bit-titan, ccfbits, xwtclassics, mvgroupmain, hd4fans, tapochek, piratbitl, zooqle, carpathians, isohunt2, 7torrents, kinonavse100, topnow, mactorrents, 3changtrai, leaguehd, filebase, ttsweb, tribalmixes, extremebits, dragonworldreloaded, cartoonchaos, xfsub, brasiltracker, jpopsuki, monova, torrentproject2, theoccult, chilebt, linuxtracker, torrentfactory, bithumen, purovicio, pctorrent, funkytorrents, epizod, netlab, 2fast4you, xbytesv2, legacyhd, 1337x, extratorrent-cd, tlfbits, acidlounge, arabafenice, focusx, torrentland, turktorrent, frozenlayer, korsar, hdtorrentsit, acgrip, world-of-tomorrow, libranet, torrent-turk, uniongang, hdcity, femdomcult, pterclub, zetorrents, concertos, elitetorrent-biz, pornorip, r3vwtf, tjupt, torrentseed, btdb, torrentparadise, desitorrents, bigtorrent, soundpark, torrenting, lechaudron, arabp2p, girotorrent, 0daykiev, lesaloon, kinorun, fouducinema, torrentlt, torrentdownloads, torrentview, boxingtorrents, finelite, parnuxi, pornolive, dmhy, turknova, spacetorrent
07-18 17:05:52 Info Adding aggregate indexer
07-18 17:05:52 Info Jackett startup finished in 1.980 s
Hosting environment: Production
Content root path: /home/vh/Jackett/Content
Now listening on: http://[::]:9117
Application started. Press Ctrl+C to shut down.
The last part of the output after starting Jackett from terminal

Open Jackett in browser with default port 9117

The default Jackett port is 9117, which is why you see “Now listening on: http://[::]:9117”. So, we can start it by opening this URL in your browser: http://localhost:9117/, which will automatically direct you to http://localhost:9117/UI/Dashboard. Now right-click any of the url will bring you to Jackett web interface.

Open Jackett in browser

Autostart Jackett with systemd

If you restart your computer or experience a power outage until the last step, you’ll need to restart Jackett to use it again. We’ll use Systemd software here to auto-start Jackett on boot for you. What we are going to use next is systemd service.

Install Jackett systemd service

Fortunately, the Jackett developers already provided a shell script to create and install the systemd service. Because systemd is a OS level software, we will run it with sudo. Also note that before running the following command, use the keyboard shortcut ctrl - c to stop Jackett from your current terminal window.

To install the systemd service, run

sudo ./install_service_systemd.sh

You will see the output like the following. Jackett developers did a greate job, you don’t even need to change the username if you install and enable

Installing Jackett systemd service
vh@varhowto-com:~/Jackett$ sudo ./install_service_systemd.sh
Checking if the service 'jackett.service' is running …
Service 'jackett.service' is not running
Jackett will be installed in '/home/vh/Jackett'
Jackett will be executed with the user 'vh'
Creating Jackett unit file in '/etc/systemd/system/jackett.service' …
Installing Jackett service …
Created symlink /etc/systemd/system/multi-user.target.wants/jackett.service → /etc/systemd/system/jackett.service.
Service successfully installed and launched!
vh@varhowto-com:~/Jackett$

Here is the full systemd service it generated for me. You can see yours by opening this file: /etc/systemd/system/jackett.service. If the group is not the same as your username, you might want to change it.

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

[Service]
SyslogIdentifier=jackett
Restart=always
RestartSec=5
Type=simple
User=vh
Group=vh
WorkingDirectory=/home/vh/Jackett
ExecStart=/bin/sh "/home/vh/Jackett/jackett_launcher.sh"
TimeoutStopSec=30

[Install]
WantedBy=multi-user.target

Verify if Jackett started successfully

To verify the Jackett is successfully started by the systemd service, run sudo systemctl status jackett.service. You will see the output similar to the following screenshot.

As you can see, Jackett has process PID 10877 and takes a lot of memory: 119 MB memory (Radarr is 57.5 MB, Sonarr is 108.1 MB). It is listening to http://*:9117/ (yes, you can open http://localhost:7878/ or replace localhost with your IP address). It is more clear in the text output below the screenshot: the torrent tracker definations are loaded from 3 places:

  1. /home/vh/.config/cardigann/definitions/
  2. /etc/xdg/cardigan/definitions/
  3. /home/vh/Jackett/Definitions
Checking Jackett systemd service
● jackett.service - Jackett Daemon
Loaded: loaded (/etc/systemd/system/jackett.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-07-18 18:45:33 EDT; 15s ago
Main PID: 10877 (sh)
Tasks: 15 (limit: 2247)
Memory: 119.0M
CGroup: /system.slice/jackett.service
├─10877 /bin/sh /home/vh/Jackett/jackett_launcher.sh
└─10895 /home/vh/Jackett/jackett --NoRestart
Jul 18 18:45:34 varhowto-com jackett[10895]: 07-18 18:45:34 Info Using Proxy: No
Jul 18 18:45:34 varhowto-com jackett[10895]: 07-18 18:45:34 Info Using HTTP Client: HttpWebClient2NetCore
Jul 18 18:45:34 varhowto-com jackett[10895]: 07-18 18:45:34 Info Loading Cardigann definitions from: /home/vh/.config/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /home/vh/Jackett/Definitions
Jul 18 18:45:35 varhowto-com jackett[10895]: 07-18 18:45:35 Info Cardigann definitions loaded: abnormal, alpharatio, anidex, anidub, animebytes, animetorrents, anthelion, avistaz, awesomehd, bakabt, bb, bitcityreloaded, bithdtv, bjshare, broadcasthen>
Jul 18 18:45:35 varhowto-com jackett[10895]: 07-18 18:45:35 Info Adding aggregate indexer
Jul 18 18:45:36 varhowto-com jackett[10895]: 07-18 18:45:36 Info Jackett startup finished in 2.847 s
Jul 18 18:45:36 varhowto-com jackett[10895]: Hosting environment: Production
Jul 18 18:45:36 varhowto-com jackett[10895]: Content root path: /home/vh/Jackett/Content
Jul 18 18:45:36 varhowto-com jackett[10895]: Now listening on: http://[::]:9117
Jul 18 18:45:36 varhowto-com jackett[10895]: Application started. Press Ctrl+C to shut down.

Stop/restart jackett systemd service

systemd allows us to autostart a service, you can also use the following commands to stop or restart a service any time, particularly if there is a problem.

To stop the jackett systemd service, run sudo systemctl stop jackett.service. To restart it, run sudo systemctl restart jackett.service.

How to uninstall Jackett

To remove Jackett, first we disable the Jackett service:

sudo systemctl disable jackett.service

Then we remove the jackett.service file that the install_service_systemd.sh shell script installed:

sudo remove /etc/systemd/system/jackett.service

Finally, we remove the Jackett folder we downloaded.

rm -rf ~/Jackett/

Reference: https://github.com/Jackett/Jackett

Conclusion

Congratulations, you have learned how to install Jackett and make it auto-start by adding the Jackett systemd service on your Ubuntu 20.04 computer! Now you can try to add index in the web interface and use “Copy Torznab Feed” to add the torrent trackers in your Radarr or Sonarr. Then you can download some movies or TV shows you have probably bought from BestBuy, Walmart, or Target.

3 Steps to Install Jackett on Ubuntu 20.04

Time Needed : 10 minutes

  1. Install Mono for Jackett on Ubuntu 20.04

    Run
    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF and
    echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list and
    sudo apt update && sudo apt install mono-devel

    To verify mono is installed, run mono --versionimage 49

  2. Install latest Jackett release on Ubuntu 20.04

    To download, run curl -L -O $( curl -s https://api.github.com/repos/Jackett/Jackett/releases | grep Jackett.Binaries.LinuxAMDx64.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4 )

    To uncompress, run tar -xvzf Jackett.Binaries.LinuxAMDx64.tar.gz.All the files of Jackett installation

  3. Install Jackett systemd service for autorestart

    To install, run cd ~/Jackett/ && sudo ./install_service_systemd.sh

    Start Jackett by visiting http://localhost:9117/
    Open Jackett in browser

Tools
  • Terminal
  • systemd
Materials
  • Ubuntu 20.04

+15

By VarHowto Editor

Welcome to VarHowto!

18 replies on “How to Install Jackett on Ubuntu 20.04”

Oh boy. You go to great lengths to describe how one should install mono-devel (from official repository) and then direct users to download the linux standalone version of the Jackett binaries. (mono not required).

This guide should be three lines:

1)download jackett binaries from github
2)un-tar
3)./jacket

If you insist on installing the mono runtimes, then download the much smaller mono-build of Jackett. That said, why??

+2

Suggestion: curl -s https://api.github.com/repos/Jackett/Jackett/releases | jq .[0]."assets"[0]."browser_download_url"

+1

Suggestion to simplify hitting the API for the download URL:
curl -s https://api.github.com/repos/Jackett/Jackett/releases | jq .[0]."assets"[0]."browser_download_url"

+1

Hi,

Thanks for this detailed guide to get install Jackett as a service on debian variants. I am on Mint 20.1

I got stuck at curl with the command in the image but noticed that the image and the text snapshot of the commands were different – text version worked. So, now I have a Jackett working fine as a service and after adding some public indexes, the manual searches are working fine on the localhost:9117.

However, even after following the instructions for getting Jackett to work in qBittorrent, I am unable to get it to appear as a plugin in the qBittorrent. I followed the instruction at https://github.com/qbittorrent/search-plugins/wiki/How-to-configure-Jackett-plugin, following the “Linux Mint 20” section specifically for the json file (with my API key from my own localhost:9117).

Any suggestion, what I am missing?

Thanks

+1

The Jackett releases file doesn’t contain newlines, so parsing it is a little messy. This curl command will download the latest Jackett release.

curl -L -O $( curl -s https://api.github.com/repos/Jackett/Jackett/releases | perl -pe 's/^.+?browser_download_url.+?(https.+?Jackett.Binaries.LinuxAMDx64.tar.gz).+/$1/;' )

+2

These guides are comprehensive, clear, and straight to the point. I like how everything is explained so you actually know what each step is accomplishing, yet not over bloated with too much information. Perfect for accomplishing the task at hand and getting a better understanding of Linux along the way.

+3

Comments are closed.