Skip to content
Advertisement

How to install the boost through its source?

I use the wget download the boost.1.65.1, but I don’t know how to install it:

wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz

I have uncompressed it:

tar -zxvf boost_1_65_1.tar.gz

and I tried to make install it, but failed. Because I cd to boost_1_65_1 then use ./configure --prefix=/usr/local/boost.1.65.1 but says there is no configure:

[root@localhost boost_1_65_1]# ./configure --prefix=/usr/local/boost1.65.1
-bash: ./configure: No such file or directory

So, how to install the boost?

Advertisement

Answer

Follow the instructions here: Boost. Getting Started on Unix Variants. You need to setup the builder first and then invoke it if you want to use Boost not header-only libraries.

Advertisement