1 .. include:: common.rst
7 Linux distributions typically provide the Babeltrace |~| 2 Python
8 bindings as the ``python3-bt2`` package.
10 Build and install from source
11 -----------------------------
13 `build Babeltrace 2 from source <https://babeltrace.org/#bt2-build-from-src>`_,
14 specify the ``--enable-python-bindings`` option at configuration time,
19 $ ./configure --enable-python-bindings
21 If you also need the Babeltrace |~| 2 library (libbabeltrace2) to
22 load Python plugins, specify the ``--enable-python-plugins`` option
23 at configuration time:
27 $ ./configure --enable-python-bindings --enable-python-plugins
30 :bt2link:`README <https://github.com/efficios/babeltrace/blob/stable-@ver@/README.adoc>`
31 for build-time requirements and detailed build instructions.
35 The Babeltrace |~| 2 Python bindings only work with Python |~| 3.