1. 先去官网下载压缩包:
https://www.boost.org/
  1. 解压
tar -zvxf boost_1_70_0.tar.gz
  1. cd 进入根目录,然后执行:
./bootstrap.sh
  1. 安装(时间会很长):
./b2 install