If you use Ubuntu LTS, you are stuck with a pretty old version of the Boost library. You can upgrade to the latest version of Boost in a few steps:
First uninstall all the Boost library packages of the current version.
Next, add the PPA
ppa:boost-latest/ppa and upgrade your installation:
[code lang=cpp] $ sudo add-apt-repository ppa:boost-latest/ppa $ sudo apt-get update
* Look at the latest version Boost library packages available to you and install those that you need: [code lang=cpp] $ aptitude search boost $ sudo apt-get install libboost1.54-dev
Tried with: Ubuntu 12.04