Last active
December 31, 2023 23:32
-
-
Save RayBB/e3974aaa3ec460f35aaf40c4da636869 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo apt-get install \ | |
build-essential \ | |
pkg-config \ | |
automake \ | |
libtool \ | |
libc6-dev \ | |
libboost-dev \ | |
libboost-system-dev \ | |
libboost-chrono-dev \ | |
libboost-random-dev \ | |
libssl-dev \ | |
qtbase5-dev \ | |
qttools5-dev-tools \ | |
libqt5svg5-dev \ | |
zlib1g-dev\ | |
git | |
git clone https://github.com/arvidn/libtorrent.git | |
cd libtorrent | |
# select the latest release tag | |
git checkout $(git tag | grep libtorrent-1_1_ | sort -t _ -n -k 3 | tail -n 1) | |
./autotool.sh | |
export CXXFLAGS=-std=c++11 | |
./configure \ | |
--disable-debug \ | |
--enable-encryption \ | |
--with-boost-libdir=/usr/lib/aarch64-linux-gnu \ | |
--with-libiconv | |
make -j$(nproc) | |
sudo make install | |
sudo echo "/usr/local/lib" > /etc/ld.so.conf.d/libtorrent.conf | |
cat /etc/ld.so.conf.d/libtorrent.conf | |
echo env | grep LD_LIBRARY_PATH | |
cd .. | |
git clone -b v4_1_x https://github.com/qbittorrent/qBittorrent | |
cd qBittorrent | |
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/aarch64-linux-gnu | |
make -j$(nproc) | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment