Upgrade Boost to latest version on Ubuntu 22.04: manual instructions

I need to install Boost version 1.82 on my Ubuntu 22.04 system, but the repositories only contain version 1.74. According to the Boost documentation, I should use the command ./bootstrap.sh --prefix=/usr/include/ in order to install the library in /usr/include/boost/. Is this the correct command to use for Ubuntu?

Yes, the command ./bootstrap.sh --prefix=/usr/include/ is the correct command to use for installing Boost version 1.82 on Ubuntu.