bittorrent-codex-docs/10 Notes/libtorrent-rasterbar.md
2024-11-11 02:49:08 +07:00

3.2 KiB

tags link source related-to
bittorrent
http://www.libtorrent.org/ https://github.com/arvidn/libtorrent
Deluge
qBittorrent

#bittorrent

link http://www.libtorrent.org/
source https://github.com/arvidn/libtorrent
related-to Deluge, qBittorrent

Open Source BitTorrent library. The place to go to learn about the internals of the BitTorrent protocol, to find clarifications and answers to question you cannot find elsewhere.

Selected Docs

Other intersting docs

Languages:

!Pasted image 20241023160207.png

Building

I have followed the instructions from https://www.libtorrent.org/building.html. Relevant sections:

  • building from git,
  • building with boost build, and then immediately:
  • Step 4: Installing libtorrent.

Documentation not really clear - hard to see the logical order.

Summary of the building steps

Before anything, install pre-requisites:

sudo apt install build-essential cmake git ninja-build pkg-config libboost-dev libssl-dev zlib1g-dev libgl1-mesa-dev

Then follow with:

git clone --recurse-submodules https://github.com/arvidn/libtorrent.git
sudo apt install libboost-tools-dev libboost-dev libboost-system-dev
echo "using gcc ;" >>~/user-config.jam
b2 crypto=openssl cxxstd=14 release
sudo b2 install --prefix=/usr/local

See also libtorrent Python bindings.