Boost Installation Boost Installation linux linux

Boost Installation


If you want to run with the latest version, you can do the bjam install as mentioned by Ralf, but I suggest you build a 'pseudo' package so you can

  • uninstall it safely
  • prevent/notice conflicts with official/existing boost packages.

Here is how to do that:

mkdir -pv /tmp/boostinstcd /tmp/boostinst/wget -c 'http://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.bz2/download'tar xf downloadcd boost_1_66_0/./bootstrap.sh --help./bootstrap.sh --show-libraries./bootstrap.sh checkinstall ./b2 install


On new boost version there is other way:

sudo apt-get updatewget -c 'http://sourceforge.net/projects/boost/files/boost/1.50.0/boost_1_50_0.tar.bz2/download'tar xf downloadcd boost_1_50_0./bootstrap.sh./b2 install


You can use command aptitude search libboost to see list of the availiable boost libraries. The last version of boost is 1.42 - maybe that's why you can't find version 1.40.

If aptitude search command don't give you sufficient results, try sudo aptitude update and then run aptitude search again.