全球主机交流论坛

标题: debian10编译安装最新版qbittorrent V4_3_x-nox [打印本页]

作者: mjj不是我    时间: 2021-3-1 13:09
标题: debian10编译安装最新版qbittorrent V4_3_x-nox
本帖最后由 mjj不是我 于 2021-3-1 13:17 编辑

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
复制代码




作者: 鼎剑阁    时间: 2021-3-1 14:26
我是按照下面这个编译的
  1. https://npchk.info/ubuntu-debian-install-qbittorrent/
复制代码

作者: 财缘    时间: 2021-3-1 14:29
技术贴帮顶,懒得编译我用docker
作者: laogui    时间: 2021-3-1 14:30
用docker的路过
作者: waz    时间: 2021-3-1 15:04
用这个就好了,一键编译 https://github.com/userdocs/qbittorrent-nox-static
作者: txjcv    时间: 2021-3-1 15:07
你这个是做什么的?
作者: kafuuchino    时间: 2021-3-1 15:15
我直接用星大的一键脚本装的,编译太麻烦了,而且qb还是老版本的好点,新版本的有的pt站不支持
  1. bash <(wget -qO- --no-check-certificate https://github.com/Aniverse/qbittorrent-nox-static/raw/master/install.sh) \
  2. -u <用户名> -p <密码> -w <webui端口> -v 4.1.9.lt.1.1.14
复制代码

要装其他版本的qb修改最后一个参数就行了,具体可以支持的版本看星大的GitHub
https://github.com/Aniverse/qbittorrent-nox-static
作者: matoi    时间: 2021-3-1 15:17
提示: 作者被禁止或删除 内容自动屏蔽
作者: Benladen    时间: 2021-3-1 15:19
https://github.com/userdocs/qbittorrent-nox-static/releases/






欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4