Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Update fork from master

uninstall dpkg

sudo apt --purge remove libboost-dev sudo apt --purge remove libboost-all-dev sudo apt --purge autoremove libboost-all-dev

to uninstall the version which we installed from source

sudo rm -rf /usr/lib/libboost_* sudo rm -rf /usr/include/boost


tar -xzvf boost_1_68_0.tar.gz cd boost_1_68_0


sudo ./b2 install -j4

Add the Boost libraries path to the default Ubuntu library search path

sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/'

Update the default Ubuntu library search paths

sudo ldconfig

cat /usr/local/include/boost/version.hpp | grep "BOOST_LIB_VERSION"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.