On 24/09/2020 17:37, Shiladitya Porey wrote:
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.
If you are using an older version of Linux, it may come with an older version of Boost as well. Either you will need to download and build a later version manually (and ensure that your other code is pointed at this installation instead of the standard system one), or you can try upgrading your OS to a newer version that includes a newer version of Boost as well.