Skip to content



libtorrent is an open source C++ library implementing the BitTorrent protocol, along with most popular extensions, making it suitable for real world deployment. It is configurable to be able to fit both servers and embedded devices.

The main goals of libtorrent are to be efficient and easy to use.

See for more detailed build and usage instructions.

To build with boost-build, make sure boost and boost-build is installed and run:


In the libtorrent root. To build the examples, run b2 in the examples directory.

See building.html for more details on how to build and which configuration options are available. For python bindings, see the python docs.

libtorrent ABI report.

libtorrent package versions in linux distributions, on repology.