Giter VIP home page Giter VIP logo

qbittorrent-raspberrypi's Introduction

qBittorrent 4.4.x on Raspberry Pi (arm64 + armhf)

โš ๏ธ No longer supported, migrate to a docker installation for a hassle-free experience

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.

Running the script

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.

Installing

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

Updates

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

Run qBittorrent at boot

On Raspberry Pi OS run:

sudo bash -c "echo '@qbittorrent' >> /etc/xdg/lxsession/LXDE-pi/autostart"

amd64 Support

Starting with v1.1.0 of the script, amd64 builds are supported as well. Pre-builds are also available in the Releases section

Credits

  • Official wiki:
  • Checkinstall man page
  • This askubuntu post by Stewart which made me switch from checkinstall to dpkg-deb when building qbittorrent
  • A great tutorial on how to build .deb packages with dpkg-deb

qbittorrent-raspberrypi's People

Contributors

rursache avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mvasuki1

qbittorrent-raspberrypi's Issues

requirement for libtorrent-rasterbar not met

Have used this tool for a long time - flawlessly - even with over-the-top upgrades including to 4.6.0. However after a clean install of the OS today (Raspberry Pi Bookworm), it errored out and gave me this.

checking for libtorrent-rasterbar >= 2.0.9... no
checking for libtorrent-rasterbar >= 1.2.19 libtorrent-rasterbar < 2... no
configure: error: Package requirements (libtorrent-rasterbar >= 1.2.19 libtorrent-rasterbar < 2) were not met:

Package 'libtorrent-rasterbar', required by 'virtual:world', not found
Package 'libtorrent-rasterbar', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libtorrent_CFLAGS
and libtorrent_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.

I really appreciate this repo, but...

My Raspberry Pi 3B have now been on 90-100% load under 2h, is this expected to take this long? to compile the files?
im lucky to have an aluminium block as a cover for the Pi otherwise it would be overheated.

Odd messages when trying to install pre-build qB 4.4.5

When I open an issue yesterday, my point is not about install qB 4.4.3.1. I know how to install those missing packages. The issue is with 4.4.5. The full log is repeat here:

qbtuser@k:~ $ sudo dpkg -i qbittorrent_4.4.5-1_arm64.deb

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 42980 files and directories currently installed.)
Preparing to unpack qbittorrent_4.4.5-1_arm64.deb ...
Unpacking libtorrent (1.2.17-1) over (1.2.17-1) ...
Setting up libtorrent (1.2.17-1) ...

Odd messages when trying to install pre-build qB 4.4.5

(Reading database ... 42980 files and directories currently installed.)
Preparing to unpack .../qbittorrent_4.4.5-1_arm64.deb ...
Unpacking libtorrent (1.2.17-1) over (1.2.17-1) ...
Setting up libtorrent (1.2.17-1) ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.