Boost is installed where on my Ubuntu?

37,576

Solution 1

The boost library files are in /usr/lib/x86_64-linux-gnu. You'll see a whole bunch of other libraries there as well.

Solution 2

If you use the following command:

sudo apt-get install libboost-all-dev

to install the boost library on your Ubuntu distribution, then you can find the location using this command

whereis boost.

Typically it's stored in the location /usr/include/boost.

Share:
37,576
user1343318
Author by

user1343318

Updated on January 16, 2020

Comments

  • user1343318
    user1343318 over 4 years

    I download Boost 1.54 tar from Boost website and then followed the instructions as detailed here [1].

    In particular, I wanted to install my boost library in the folder

    $HOME/BOOST
    

    using this:

    $ ./bootstrap.sh --prefix=$HOME/BOOST
    

    But after the installation, this folder is still empty. Why is that?

    P.S.: Boost installation at the end said:

    common.copy stage/lib/libboost_wave.a
    ...failed updating 62 targets...
    ...skipped 18 targets...
    ...updated 1004 targets...
    

    [1] http://www.boost.org/doc/libs/1_54_0/more/getting_started/unix-variants.html