Skip to content

Script Installation

Docker - Install commands

Some notes on the dockers method:

  • We use a subdirectory, not your $HOME directory, to avoid .bashrc and .profile conflicts.
  • A subdirectory is automatically created, named qbt by the use of -v $HOME/qbt:/root
  • The default path will be HOME/qbt outside the docker container and /root/qbt inside it.
  • We use -e "LANG=en_GB.UTF-8" with Debian based images to avoid some errors.

Host - Install commands

wget -qO ~/qbittorrent-nox-static.sh https://git.io/qbstatic

Post installation

If you need to install the dependencies and you have sudo privileges then do this:

sudo bash ~/qbittorrent-nox-static.sh

Docker via SSH

Some notes on the dockers method:

  • We use a subdirectory, not your $HOME directory, to avoid .bashrc and .profile conflicts.
  • A subdirectory is automatically created, named qbt by the use of -v $HOME/qbt:/root
  • The finale default path will be HOME/qbt outside the docker container and /root/qbt inside it.

To bootstrap the container:

docker run -it -w /root -e "LANG=en_GB.UTF-8" -v ~/qbt:/root debian:latest /bin/bash -c 'apt update && apt install -y curl && bash'

All in one command:

docker run -it -w /root -e "LANG=en_GB.UTF-8" -v ~/qbt:/root debian:latest /bin/bash -c 'apt update && apt install -y curl && curl -sL git.io/qbstatic | bash -s all'

You can modify the installation command by editing this part of the docker command.

bash -s all

For example, to use ICU using -i, -c to trigger cmake and in turn activate Qt6 and optimise for the system CPU using -o:

bash -s all -i -c -o