debian10编译安装最新版qbittorrent V4_3_x

大佬不是我大佬:

qbittorrent原版:https://github.com/qbittorrent/qBittorrent
增强版gbittorrent:https://github.com/c0re100/qBittorrent-Enhanced-Edition   
官方编译教程:https://github.com/qbittorrent/qBittorrent/wiki/Compilation:-Debian-and-Ubuntu
libiconv解决办法:https://github.com/qbittorrent/qBittorrent/issues/11723
注意:
1. 一定别先安装lnmp。由于lnmp编译安装了libiconv,会导致qbittorrent编译失败。

2.如果安装了,按照上面链接最后给出的方法解决,并且需要重新安装php。

3. c++最低强制为c++17

  1. [b]#环境要求[/b]
  2. sudo apt install build-essential pkg-config automake libtool git zlib1g-dev libssl-dev libgeoip-dev
  3. sudo apt install libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev
  4. sudo apt install qtbase5-dev qttools5-dev libqt5svg5-dev
  5. [b]#编译libtorrent[/b]
  6. wget https://github.com/arvidn/libtorrent/releases/download/v1.2.12/libtorrent-rasterbar-1.2.12.tar.gz
  7. tar xf libtorrent-rasterbar-1.2.12.tar.gz
  8. cd libtorrent-rasterbar-1.2.12
  9. ./configure –disable-debug –enable-encryption –with-libgeoip=system CXXFLAGS=-std=c++17
  10. make -j$(nproc)
  11. make install
  12. ldconfig
  13. [b]#编译qbittorrent[/b]
  14. git clone https://github.com/qbittorrent/qBittorrent
  15. cd qBittorrent
  16. git checkout v4_3_x
  17. ./configure –disable-gui CXXFLAGS="-std=c++17"
  18. make -j$(nproc)
  19. make install
本站部分内容转载自互联网,如不慎侵害的您的权益,请告知,我们将尽快删除。

发表评论