全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2665|回复: 8

[疑问] debian10编译安装最新版qbittorrent V4_3_x-nox

[复制链接]
发表于 2021-3-1 13:09:19 | 显示全部楼层 |阅读模式
本帖最后由 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:48 | 显示全部楼层
我是按照下面这个编译的
  1. https://npchk.info/ubuntu-debian-install-qbittorrent/
复制代码
发表于 2021-3-1 14:29:33 | 显示全部楼层
技术贴帮顶,懒得编译我用docker
发表于 2021-3-1 14:30:31 | 显示全部楼层
用docker的路过
发表于 2021-3-1 15:04:08 | 显示全部楼层
用这个就好了,一键编译 https://github.com/userdocs/qbittorrent-nox-static
发表于 2021-3-1 15:07:57 | 显示全部楼层
你这个是做什么的?
发表于 2021-3-1 15:15:44 | 显示全部楼层
我直接用星大的一键脚本装的,编译太麻烦了,而且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
发表于 2021-3-1 15:17:56 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2021-3-1 15:19:31 | 显示全部楼层
https://github.com/userdocs/qbittorrent-nox-static/releases/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-28 05:29 , Processed in 0.061750 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表