Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This question already has an answer here:
How to download boost in Ubuntu?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
A quick search of the packages index shows that libboost-dev depends on the default version of the Boost libraries. So:
sudo apt-get install libboost-dev