Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I install boost/lexical_cast.hpp in my Ubuntu-12.04? Does ubuntu 12.04 has default boost package installed? if so, then how can I be able to see which version it is and what libraries are there in this package?

share|improve this question

According to the Ubuntu Packages Search the packages libboost1.46-dev and libboost1.48-dev contain that file.

Click on the package links at the search results to get more information about that packages.

share|improve this answer
this is not a direct ans of my question – MiNdFrEaK Aug 14 '12 at 5:46
versatile and comprehensive answer produces apt-file utility: apt-file search lexical_cast say that you must install libboost1.4[68]-dev package – dyomas Apr 21 at 8:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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