I had boost 1.65.1 and also 1.75 i unistalled boost by this command on ubuntu 18.04
sudo apt-get --purge remove libboost-dev
But on my PC usr/local/include/boost
in version.hpp
in that file showing as 1_75
Well on the other hand /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
is giving no such file directory
why is that and how to install boost now ?
/usr/local/include/boost
means that you installed 1,75 from some non-deb source. How you uninstall software depends upon how you installed it -- installing from some non-deb source means that apt-get didn't install 1.75 it and cannot remove it. So, from your description, you still have 1.75 installed. Apt-get could (and apparently did) remove 1.65. – user535733 Feb 10 '21 at 14:31