Building Boost
Version used: Boost-v1.7 with Python3 support
$ wget https://netix.dl.sourceforge.net/project/boost/boost/1.70.0/boost_1_70_0.tar.gz
$ tar xvf boost_1_70_0.tar.gz
$ cd boost_1_70_0/
$ ./bootstrap.sh --prefix=/opt/boost-v1.7-python3 --with-python=/usr/bin/python3
$ sudo ./b2 install --prefix=/opt/boost-v1.7-python3 --with=all -j4
Remember to add Boost details to your environment, e.g. /etc/bashrc:
export LD_LIBRARY_PATH=/opt/boost-v1.7-python3/lib:$LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH=/opt/boost-v1.7-python3/include:$CPLUS_INCLUDE_PATH
export PYTHONPATH=/opt/boost-v1.7-python3/lib:$PYTHONPATH