Setup Advanced Linux - fedarovich/qbittorrent-cli GitHub Wiki

Installing Platform-Specific Packages on Linux (Advanced Setup)

Supported Linux Distributions

The following linux distributions and their derivatives are supported at moment:

Distro Minimal version
Ubuntu 16.04
Linux Mint 18
Debian 9
RHEL 7
CentOS 7
Fedora 31
Oracle Linux 7
openSUSE 15
SLES 12 SP 2

Note that is still quite possible that the application might run on other distros.

Only x64 (aka x86-64, aka AMD64), ARM and ARM64 platforms are currently supported.

It might be possible to run qBittorrent CLI on unsupported platforms using mono runtime and platform-agnostics packages.

Installing prerequisites

Some packages must be installed before running qBittorrent CLI. Please, see the corresponding chapter for your distribution:

Debian 9.x

Run the following commands:

su -c 'apt install libssl1.1 libicu57'

Debian 10.x

Run the following commands:

su -c 'apt install libssl1.1 libicu63'

Linux Mint 18

Run the following commands:

sudo apt update
sudo apt install libssl1.0.0 libicu55

Linux Mint 19

Run the following commands:

sudo apt update
sudo apt install libssl1.1 libicu60

Linux Mint 20

Run the following commands:

sudo apt update
sudo apt install libssl1.1 libicu66

Ubuntu 16.04

Run the following commands:

sudo apt update
sudo apt install libssl1.0.0 libicu55

Ubuntu 17.10

Run the following commands:

sudo apt update
sudo apt install libssl1.0.0 libicu57

Ubuntu 18.04

Run the following commands:

sudo apt update
sudo apt install libssl1.1 libicu60

Ubuntu 20.04

Run the following commands:

sudo apt update
sudo apt install libssl1.1 libicu66

Ubuntu 20.10

Run the following commands:

sudo apt update
sudo apt install libssl1.1 libicu67

CentOS 7

Run the following commands:

su -c 'yum install openssl-libs libicu'

Fedora 31 or later

The required libraries are typically preinstalled, but you should run the following command to ensure they really are:

su -c 'dnf install openssl-libs libicu'

openSUSE Leap 15

Run the following commands:

sudo zypper install libssl45 libicu

openSUSE Tumbleweed

Run the following commands:

sudo zypper install libssl48 libicu

Installing qBittorrent CLI

  1. Download the qBittorrent CLI tar.gz-archive from the Releases page. The archive for Linux has the name qbt-linux-<platform>-<version>.tar.gz.

  2. Create a folder qbt in /usr/local/lib directory and cd into it:

    sudo mkdir /usr/local/lib/qbt && cd "$_"

    You may want to install qBittorrent CLI in another folder. For example, you can install it to ~/qbt if you want to do it without root permissions. In this case change the paths in this tutorial correspondingly.

  3. Extract the archive to the newly created folder:

    sudo tar xvf /path/to/archive.tar.gz
  4. Add execute permission to the file /usr/local/lib/qbt/qbt:

    sudo chmod +x qbt
  5. Create a symlink /usr/bin/qbt pointing to file /usr/local/lib/qbt/qbt:

    sudo ln -s /usr/local/lib/qbt/qbt /usr/bin/qbt

    Alternatively, you may put this symlink to any other folder in your PATH.

Getting started with qBittorrent CLI:

Run the following command:

qbt --help
⚠️ **GitHub.com Fallback** ⚠️