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=

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, 2016 at 16:53
  • I'm using Xenial
    – Wassim
    Jun 27, 2016 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= . Note 1 : Run sudo apt-get update . Note 2 : All '1.54-dev' packages are visible in 'synaptic'. Jun 27, 2016 at 17:56
  • Possible duplicate of askubuntu.com/questions/787601/… or askubuntu.com/questions/353601/…
    – anonymous2
    Jun 27, 2016 at 19:27
  • 1
    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, 2016 at 19:51

1 Answer 1


You can search for the package on www.ubuntuupdates.org, e.g I needed this outdated library


Furter down the page there are URLs, i.e. for the 64 bit version as a deb.

  1. wget <filename> that file to a local directory
  2. sudo apt-get -y install <debname>

And at least in my case a certain package demanding a slightly outdated libboost package (and not accepting the more recent one) was happy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.