To install Boost.Build from an official release or a nightly build, as available on the official web site, follow these steps:
./b2 install --prefix=PREFIX
where PREFIX
is a directory where you
want Boost.Build to be installed.
PREFIX
/bin
to your PATH
environment variable.
If you are not using a Boost.Build package, but rather the version
bundled with the Boost C++ Libraries, the above commands should be run
in the tools/build
directory.
Now that Boost.Build is installed, you can try some of the examples. Copy
to a different directory, then change to that directory and run:
PREFIX
/share/boost-build/examples/hello
PREFIX
/bin/b2
A simple executable should be built.