Skip to content

Instantly share code, notes, and snippets.

Embed
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

wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz

tar -xzvf boost_1_68_0.tar.gz cd boost_1_68_0

./bootstrap.sh

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/ld.so.conf.d/boost.conf'

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.