下載解壓
wget https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
tar -zxvf boost_1_72_0.tar.gz
安裝
cd boost_1_72_0/
sh ./bootstrap.sh
./b2
sudo ./b2 install --prefix=/usr/local
問題
1.如果出現
error while loading shared libraries: libboost_system.so.1.72.0: cannot open shared object file: No such file or directory
則執行
sudo ldconfig