0 Compilation FreeBSD (no GUI)
Chocobo1 edited this page 2024-05-01 17:13:13 +08:00

qBittorrent-nox compilation on FreeBSD (with dependencies as system packages)

  1. Install required libraries from repository
  • pkgconf
  • qt5-core
  • qt5-network
  • qt5-svg
  • qt5-linguisttools
  • qt5-buildtools
  • qt5-qmake
  • boost-all
  • libtorrent-rasterbar

Copy-paste command

pkg install pkgconf qt5-core qt5-network qt5-svg qt5-linguisttools qt5-buildtools qt5-qmake boost-all libtorrent-rasterbar
  1. Execute configure script in extracted qBittorrent source or cloned git repository
./configure --disable-gui --prefix=/usr
  1. Build qBittorrent (use parameter -j <x> for multi-threaded compilation)
make
  1. (Optionally) you can install qBittorrent in the system PATH (root privileges required) You can also use qbittorrent-nox binary directly without installation (./src/qbittorrent-nox)
make install