3

I am trying to compile this program called Doppia and it requires an older version of Boost (somewhere around 1.54 - 1.55) however when I try to install it using

sudo apt-get install libboost-all-dev

it installs the latest version while

sudo apt-get install libboost-all-dev=1.55.0.2

does not find any package. Is there any way to install an older version of a package without having to re-compile it?

Thank you.

  • What version of Ubuntu are you using? – edwinksl Jun 27 '16 at 16:53
  • I'm using Xenial – Wassim Jun 27 '16 at 17:20
  • Ubuntu 14.04 has boost_1.54 : By adding deb [url] trusty main universe and deb [url] trusty-updates main universe to /etc/apt/sources.list, you can get the libboost-*1.54-dev packages (But not libboost-all-dev=1.54.0.1) . Note 1 : Run sudo apt-get update . Note 2 : All '1.54-dev' packages are visible in 'synaptic'. – Knud Larsen Jun 27 '16 at 17:56
  • Possible duplicate of askubuntu.com/questions/787601/… or askubuntu.com/questions/353601/… – anonymous2 Jun 27 '16 at 19:27
  • I think compiling Boost from source is the most painless way to go forward. I would refrain from mixing packages from older Ubuntu versions. – edwinksl Jun 27 '16 at 19:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.