Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Boost

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use an SFTP tool to upload the Boost installation package to the /path/to/BOOST directory on the server.
  3. Run the following command to decompress the installation package:
    cd /path/to/BOOST && tar -zxf boost_1_66_0.tar.gz
  4. Run the following command to go to the installation directory:
    cd boost_1_66_0
  5. Run the following commands to perform the compilation and installation:
    CC=`which gcc` CXX=`which g++` ./bootstrap.sh --prefix=/path/to/BOOST
    ./b2 -j 32
    ./b2 install