3

After installing Boost library using Synaptic Package Manager, the version installed is 1.42.

If I check on boost official website, the current version is: 1.45.

How can I upgrade to 1.45 from Synaptic package manager?

Thanks in advance.

manlio
  • 18,345
  • 14
  • 76
  • 126
olidev
  • 20,058
  • 51
  • 133
  • 197

2 Answers2

2

You probably can not as the distribution usually lags behind. The best option I usually follow is to just download and compile and install it myself as described here

dubnde
  • 4,359
  • 9
  • 43
  • 63
  • at the moment, I am using cmake to include the boost library but it seems it always add the version from the system, how can I specify the version in the cmake build file? thanks in advance! – olidev Dec 02 '10 at 16:31
  • Never used cmake before but just seen CMAKE_INCLUDE_PATH on http://www.cmake.org/Wiki/CMake_Useful_Variables (sorry can't add links) – dubnde Dec 02 '10 at 16:36
  • [Updated boost install link](http://www.boost.org/doc/libs/release/more/getting_started/) – porgarmingduod Oct 06 '11 at 10:27
1

It has to be packaged first (by Ubuntu).

If you want to manually install the new version I would recommend that you install it into some local directory, since installing it into the system might break a lot of applications.

Šimon Tóth
  • 35,456
  • 20
  • 106
  • 151