sudo apt-get install libboost1.50-all-dev


Error: Could not find any package by globe and regex libboost1.50-all-dev
Error: Unable to locate package libboost1.50-all-dev
  • It's strange, I can see the libboost1.50-all-dev package in the raspbian repo. Can you install any other packages? Commented Feb 6, 2019 at 15:16
  • 1
    @DmitryGrigoryev libboost1.50-x is probably Jessie. Looking with apt policy I can only see 1.58 and later.
    – Dirk
    Commented Feb 6, 2019 at 15:51

2 Answers 2


Please check your Raspbian version because libboost1.50 is only available in Rapsbian Jessie.

You can check YOUR version with: lsb_release -a

Check the available libboost versions with: apt-cache search libboost

then install the latest version with: sudo apt-get install libboost1.62-*

  • Why do you need to add that repo? I thought that was a Ubuntu repo, not Debian/Raspbian.
    – Dirk
    Commented Feb 6, 2019 at 15:49
  • @Dirk, You'r completely right that is for Ubuntu. Multitasking is not my favorite, I will edit the answer.
    – Arrabida
    Commented Feb 6, 2019 at 19:19

This package is probably not available for your system (as the other answer already suggests).

To list all packages from libboost that are available do sudo apt-cache search libboost.

Probably, this will show several files and different versions. But there will also be libboost-all-dev which should contain all available packages in the most recent versioning.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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