How to install Boost on Ubuntu

k53sc picture k53sc · Sep 25, 2012 · Viewed 736.4k times · Source

I'm on Ubuntu, and I want to install Boost. I tried with

sudo apt-get install boost

But there was no such package. What is the best way to install Boost on Ubuntu?

Answer

Anton Guryanov picture Anton Guryanov · Sep 25, 2012

You can use apt-get command (requires sudo)

sudo apt-get install libboost-all-dev

Or you can call

aptitude search boost

find packages you need and install them using the apt-get command.