You will need to download boost and build from source into a custom directory.

Downloads here:

https://www.boost.org/users/download/

Then bootstrap and build:

$ ./bootstrap.sh 
$ ./b2 —prefix=<destination-dir> variant=release install



On Thu, 24 Sep 2020 at 08:05, Shiladitya Porey via Boost-users <boost-users@lists.boost.org> wrote:
Respected Sir/Madam,
 I am running a code where the minimum required version of the boost package is 66. But the version of boost in my laptop is 65.  I tried the command
sudo apt install  libboost-filesystem-dev libboost-log-dev
But it failed to update. Then I tried to download the package from the website and followed the instructions to install it. But still the version is still 65. 

Could you kindly help me, please?

Thanking you,

Sincerely,
Shiladitya Porey

--
Shiladitya Porey
Office: Room no. : 434,Old Building
Mobile: 8 913 462-44-32


_______________________________________________

Boost-users mailing list

Boost-users@lists.boost.org

https://lists.boost.org/mailman/listinfo.cgi/boost-users

--
Richard Hodges
hodges.r@gmail.com
office: +442032898513
home: +376841522
mobile: +376380212