-
Notifications
You must be signed in to change notification settings - Fork 15
Setup Linux
The following linux distributions and their derivatives are supported at moment:
Distro | Minimal version |
---|---|
Ubuntu | 16.04 |
Linux Mint | 18 |
Debian | 9 |
RHEL/CentOS/Oracle Linux | 7 |
Fedora | 33 |
openSUSE | 15.2 |
Alpine | 3.12 |
Only x64 (aka x86-64, aka AMD64), ARM and ARM64 platforms are currently supported.
Note that the application might run on other distros and platforms (for example, x86). See the Advanced Setup Guide for more details.
The installation process is different for the different distributions. Please, find the instructions for your distro below:
sudo apt update
sudo apt install apt-transport-https ca-certificates
wget -qO- 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key' | sudo apt-key add -
wget -q https://repos.fedarovich.com/debian/bookworm/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/debian/bullseye/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/debian/buster/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/debian/stretch/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
sudo apt update
sudo apt install qbittorrent-cli
wget -qO- 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key' | sudo apt-key add -
wget -q https://repos.fedarovich.com/ubuntu/noble/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/mantic/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/lunar/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/kinetic/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/jammy/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/impish/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/hirsute/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/groovy/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/focal/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/bionic/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
wget -q https://repos.fedarovich.com/ubuntu/xenial/qbittorrent-cli.list
sudo mv qbittorrent-cli.list /etc/apt/sources.list.d/
sudo apt update
sudo apt install qbittorrent-cli
sudo zypper ar -cf -r https://repos.fedarovich.com/opensuse/tw/qbittorrent-cli.repo
sudo zypper --gpg-auto-import-keys refresh qbittorrent-cli-qbittorrent-cli qbittorrent -cli-qbittorrent-cli-source
sudo zypper ar -cf -r https://repos.fedarovich.com/opensuse/15/qbittorrent-cli.repo
sudo zypper --gpg-auto-import-keys refresh qbittorrent-cli-qbittorrent-cli qbittorrent -cli-qbittorrent-cli-source
sudo zypper install qbittorrent-cli
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
sudo dnf config-manager --add-repo https://repos.fedarovich.com/fedora/37/qbittorrent-cli.repo
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
sudo dnf config-manager --add-repo https://repos.fedarovich.com/fedora/36/qbittorrent-cli.repo
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
sudo dnf config-manager --add-repo https://repos.fedarovich.com/fedora/35/qbittorrent-cli.repo
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
sudo dnf config-manager --add-repo https://repos.fedarovich.com/fedora/34/qbittorrent-cli.repo
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
sudo dnf config-manager --add-repo https://repos.fedarovich.com/fedora/33/qbittorrent-cli.repo
sudo dnf install qbittorrent-cli
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
curl https://repos.fedarovich.com/centos/8/qbittorrent-cli.repo -o qbittorrent-cli.repo
sudo mv qbittorrent-cli.repo /etc/yum.repos.d/
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
curl https://repos.fedarovich.com/centos/8/qbittorrent-cli.repo -o qbittorrent-cli.repo
sudo mv qbittorrent-cli.repo /etc/yum.repos.d/
sudo rpm --import 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'
curl https://repos.fedarovich.com/centos/7/qbittorrent-cli.repo -o qbittorrent-cli.repo
sudo mv qbittorrent-cli.repo /etc/yum.repos.d/
sudo yum install qbittorrent-cli
At the moment no APK packages are provided for Alpine, so the installation must be done manually.
Run su
to get the root permissions:
su
apk add icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib
Open https://github.com/fedarovich/qbittorrent-cli/releases/latest, find the archive named qbt-linux-alpine-architecture-version.tar.gz where architecture is your CPU architecture (x64/arm/arm64) and copy its URL.
Download the archive to your home directory (replace URL_YOU_COPIED with the actual URL):
wget URL_YOU_COPIED
Replace ARCHIVE_NAME with the actual name of the archive you have downloaded:
mkdir /usr/lib/qbittorrent-cli
tar -zxf ARCHIVE_NAME -C /usr/lib/qbittorrent-cli
chmod a+x /usr/lib/qbittorrent-cli/qbt
ln -sf /usr/lib/qbittorrent-cli/qbt /usr/bin/qbt
exit