Last active
March 2, 2022 23:16
-
-
Save jDmacD/9e38542901b9672728f088abd353a0a1 to your computer and use it in GitHub Desktop.
qbittorrent from scratch for pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer) | |
# https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Required_dependencies | |
cd ~/ | |
sudo apt-get install libboost-dev libboost-system-dev build-essential -y | |
sudo apt-get install libqt4-dev -y | |
sudo apt-get install qtbase5-dev qttools5-dev-tools -y | |
sudo apt-get install geoip-database -y | |
sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev pkg-config -y | |
wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-1.0.6.tar.gz | |
tar -zxvf libtorrent-rasterbar-1.0.6.tar.gz | |
cd libtorrent-rasterbar-1.0.6 | |
./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make | |
sudo make uninstall | |
sudo make install-strip | |
cd .. | |
git clone https://github.com/qbittorrent/qBittorrent --branch v3_3_x --single-branch | |
cd qBittorrent | |
./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf | |
make | |
sudo make install | |
cd .. | |
rm libtorrent-rasterbar-1.0.6.tar.gz | |
rm -R libtorrent-rasterbar-1.0.6 | |
sudo rm -R qBittorrent |
When i try to install the qbittorrent --branch v4_0_x i am getting an error
checking for QT5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
checking for qt5Svg... no
configure: error: Package requirements (Qt5Svg >= 5.5.1) were not met:
No package 'Qt5Svg' found
Do you know how i could resolve this?
Updated instructions to build qbittorrent v4 on raspberry pi can be found here
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you post steps for cross compiling???
compiling libtorrent-rasterbar takes hours in raspberry.I tried 1.0.6,1.0.8,1.1.0.But it always failed.(i was trying with python-bind or similar option to make it usable both for qbittorrent & deluge).Even after spending 2 days in compiling libtorrent ,it didn't work.