1. 在boost 官网 http://www.boost.org/doc/libs/ 下载最新的boost 安装包
2. 解压至 /usr/local/ 目录下
3. cd /usr/local/boost_*/
4. ./bootstrap.sh
5. ./bjam install
6. 在usr/local/include下新建一个boost符号链接指向boost-1_38/boost目录
cd usr/local/include
ln -s /usr/local/boost_*/boost boost
说明: 若出现 error while loading shared libraries:****
# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig