/qbittorrent-nox

qbittorrent-nox compile script and some shared build

Primary LanguageShellMIT LicenseMIT

Version

libtorrent

  • v2.0.7

qbittorrent-nox

  • v4.4.5

Install prebuilt binaries for freebsd

# get files
fetch https://github.com/gek64/qbittorrent-nox-freebsd/releases/download/v4.4.5/libtorrent-rasterbar.so.2.0.7
fetch https://github.com/gek64/qbittorrent-nox-freebsd/releases/download/v4.4.5/qbittorrent-nox

# copy to folder
mkdir -p /usr/local/lib/ && cp libtorrent-rasterbar.so* /usr/local/lib/
mkdir -p /usr/local/bin/ && cp qbittorrent-nox /usr/local/bin/

# install dependencies 
pkg update && pkg install -y openssl qt5-network qt5-xml qt5-sql

# install app
chmod +x /usr/local/bin/qbittorrent-nox

# install service
fetch https://github.com/gek64/qbtsh/raw/main/service/qbittorrent
mkdir -p /usr/local/etc/rc.d/ && cp qbittorrent /usr/local/etc/rc.d/qbittorrent && chmod +x /usr/local/etc/rc.d/qbittorrent
service qbittorrent enable && service qbittorrent start

# visit http://localhost:8080

Uninstall prebuilt binaries for freebsd

# uninstall service
service qbittorrent stop && service qbittorrent disable
rm /usr/local/etc/rc.d/qbittorrent

# uninstall all dependencies
rm /usr/local/lib/libtorrent-rasterbar.so*
pkg remove -y openssl qt5-network qt5-xml qt5-sql
pkg autoremove -y

# uninstall app
rm -rf /usr/local/bin/qbittorrent-nox

# remove leftover
rm -rf /usr/local/etc/qBittorrent

Compile if no prebuilt binaries available

FreeBSD

fetch https://github.com/gek64/qbittorrent-nox-shared/raw/main/qbittorrent_build_freebsd.sh
chmod +x qbittorrent_build_freebsd.sh
./qbittorrent_build_freebsd.sh

Linux

curl -LOJ https://github.com/gek64/qbittorrent-nox-shared/raw/main/qbittorrent_build_linux.sh
chmod +x qbittorrent_build_linux.sh
./qbittorrent_build_linux.sh

System requirements

FressBSD prebuilt binaries

  • x64 Architecture CPU
  • freebsd 13 and above

Compile

  • Linux or FreeBSD system
  • RAM > 2GB
  • Disk > 10GB

License

  • MIT License
  • See LICENSE for details