How to remove compiled boost from Ubuntu. Running into this playing around with compiling Denarius wallet and different boost versions. But now want to go back to stock package manager boost.
First remove the compiled boost files.
sudo rm /usr/local/lib/libboost*
sudo rm -rf /usr/local/include/boost
Then remove and autoremove libboost package, and reinstall libboost-all-dev package.
sudo apt remove libboost-all-dev
sudo apt autoremove
sudo apt install libboost-all-dev
You should be back to stock package manager controlling boost.