Installing Boost
Procedure
- Use PuTTY to log in to the server as the root user.
- Use an SFTP tool to upload the Boost installation package to the /path/to/BOOST directory on the server.
- Run the following command to decompress the installation package:
cd /path/to/BOOST && tar -zxf boost_1_66_0.tar.gz
- Run the following command to go to the installation directory:
cd boost_1_66_0
- 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
Parent topic: Configuring the Compilation Environment