1. Download boost
wget https://jaist.dl.sourceforge.net/project/boost/boost/1.63.0/boost_1_63_0.tar.gz
tar xzvf boost_1_63_0.tar.gz
cd boost_1_63_0/
2. Install boost dependencies
sudo apt-get update
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev libbz2-dev libboost-all-dev
3. compile & install boost library
./bootstrap.sh
./b2
sudo ./b2 install
网友评论