User Tools

Site Tools



Official website:

Installation of Boost

Install Boost by running the following commands:

./ –prefix=/usr && ./b2 stage threading=multi link=shared

This package does not come with a test suite.

Now, as the root user:

./b2 install threading=multi link=shared

Command Explanations

threading=multi: This parameter ensures that Boost is built with multithreading support.

link=shared: This parameter ensures that only shared libraries are created, except for libboost_exception and libboost_test_exec_monitor which are created as static. Most people will not need the static libraries, indeed most programs using Boost only use the headers, but omit this parameter if you do need them.


boost.txt · Last modified: 2016/10/24 19:24 (external edit)