How to uninstall BOOST 1.49 and install BOOST 1.54 in ubuntu?

view full story

http://unix.stackexchange.com – I have a boost 1.49 in my ubuntu system. And I am trying to uninstall boost 1.49 and completely remove it from my system. And after that install the Boost 1.54.0 I did like this to uninstall 1.49 from my system - sudo apt-get --purge remove libboost-dev sudo apt-get --purge remove libboost-all-dev And after that when I do below command to see the version, it still says I have 1.49 cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION" // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION #define BOOST_LIB_VERSION "1_49" Not sure why? And I tried installing Boos (HowTos)