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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated instructions to build qbittorrent v4 on raspberry pi can be found here