Boost logo

Boost-Build :

From: Steven Robbins (steve_at_[hidden])
Date: 2021-09-14 02:32:05


On Friday, September 10, 2021 1:49:22 A.M. CDT Jono via Boost-build wrote:

> I'm setting up boost on an ubuntu machine (and later a raspberry-pi and a
> debian VPS) to write some network software. I've used boost in the past,
> but not for ten years or so..
>
> Being lazy, I installed it with "sudo apt-get install libboost-all-dev" but
> found it was an old version, without Boost.Beast, which I'd like to try.
> Also, I was expecting the install would set up some environment variables
> for include and lib paths, etc, but I had to do this manually...

That doesn't sound right; the boost headers and libs will go into standard
paths -- e.g. /usr/include/boost.

> I uninstalled boost using "sudo apt-get remove libboost-all-dev", but found
> I had to remove the headers directory and shared libraries manually.

What happened is that libboost-all-dev pulled in a whole bunch of other
packages. Removing libboost-all-dev doesn't automatically uninstall those
others. You can try "apt autoremove" to remove packages not explicitly
installed manually that have no reverse dependencies (i.e. not depended upon
by other packages you installed manually).

That may leave some (e.g. if you installed manually); so you can check the
list of boost packages remaining with: dpkg --list | grep boost.

-Steve




Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk