Skip to content

Instantly share code, notes, and snippets.

@brygom
Forked from 1duo/centos.install.boost.md
Created June 11, 2018 15:46
Show Gist options
  • Save brygom/876865e1db59ada8961ec9297fbe983a to your computer and use it in GitHub Desktop.
Save brygom/876865e1db59ada8961ec9297fbe983a to your computer and use it in GitHub Desktop.
Install Boost library from source on CentOS 7.
wget https://cfhcable.dl.sourceforge.net/project/boost/boost/1.54.0/boost_1_54_0.tar.gz
wget https://phoenixnap.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz
  • Unzip
tar -xzf boost_1_*
cd boost_1_*
  • Bootstrap and Install
./bootstrap.sh --prefix=/opt/boost
./b2 install --prefix=/opt/boost --with=all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment