Installing Boost
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install dependencies:
Cufflinks 2.2.1 requires that the Boost version be in the range of 1.47 to 1.55.
yum install -y xz-devel.aarch64 ncurses-devel.aarch64 bzip2-devel.aarch64 libicu.aarch64 libicu-devel.aarch64
- Run the following commands to add the GNU environment variables:
export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran`
- Run the following command to decompress the installation package:
tar -xvf boost_1_55_0.tar.bz2
- Run the following command to switch to the directory generated after the package is decompressed:
cd boost_1_55_0
- Run the following command to run the bootstrap.sh script:
./bootstrap.sh
- Run the following command to compile and install Boost:
./b2 --prefix=/path/to/BOOST install
- Run the following command to check whether library files are generated in the lib directory of Boost:
ls /path/to/BOOST/lib
- Run the following command to add Boost environment variables:
export LD_LIBRARY_PATH=/path/to/BOOST/lib:$LD_LIBRARY_PATH
Parent topic: Configuring the Compilation Environment