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
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-*
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.