The existing qBittorrent package on Raspberry Pi OS is outdated. The various online guides and wiki pages are outdated or does not provide a way to "cook" a .deb
package file.
This repo wants to solve that by providing a working compiling script while also offering pre-made .deb
packages for both libtorrent and qbittorrent.
wget --no-cache -O qb.sh https://raw.githubusercontent.com/rursache/qBittorrent-RaspberryPi/master/qb.sh && chmod +x qb.sh &&
./qb.sh -v 4.4.5
Parameters:
-v
(optional) can be any qBitTorrent version-d
(optional) can provide a different working directory (defaults to~/Downloads
)
This script works on arm64, armhf and amd64.
Note
Compilig takes around 30mins on a Raspberry Pi 4 (4GB RAM) with active cooling.
If you're having issues, make sure the swap size is at least 4GB and be patient.
Note
If you already have qBitTorrent installed from the default repos, run
sudo apt remove libtorrent-rasterbar10 -y
before installing the new builds
sudo apt install qt5-qmake qtbase5-dev qttools5-dev-tools libqt5svg5-dev geoip-database -y &&
sudo dpkg -i libtorrent*.deb &&
sudo dpkg -i qbittorrent*.deb
When a new version of qbittorrent (or libtorrent) is released you can just run the script again specifing the version you want then following the installing section
On Raspberry Pi OS run:
sudo bash -c "echo '@qbittorrent' >> /etc/xdg/lxsession/LXDE-pi/autostart"
Starting with v1.1.0 of the script, amd64 builds are supported as well. Pre-builds are also available in the Releases section
- Official wiki:
- Checkinstall man page
- This askubuntu post by Stewart which made me switch from
checkinstall
todpkg-deb
when building qbittorrent - A great tutorial on how to build
.deb
packages withdpkg-deb