Boost logo

Boost :

Subject: Re: [boost] Getting Started Testing with Linux virtual machine on Windows host
From: Daniel James (daniel_at_[hidden])
Date: 2013-12-17 08:27:01


On 17 December 2013 07:08, Andrey Semashev <andrey.semashev_at_[hidden]> wrote:
> On Tue, Dec 17, 2013 at 10:28 AM, Cox, Michael
> <mhcox_at_[hidden]> wrote:
>>
>> Recommend changing:
>>
>> sudo mv b2 /usr/bin
>>
>> to
>>
>> sudo mv b2 /usr/local/bin
>
> /usr/bin is managed by package managers. You shouldn't normally put
> anything there since (a) it can be overwritten with the next package
> update and (b) you don't see what is custom-built and what is
> installed with packages (this comes in the way when upgrading the
> system).

It's probably better to use 'sudo ./b2 install --prefix=/usr/local' to
install the whole thing for standalone use.

> /usr/local/bin is better in this sense, but still I prefer
> not to put anything there anyway. I put my custom binaries to ~/bin.
> I'm on Kubuntu though, not sure if Fedora supports ~/bin.

I do something similar, but in this case it's a virtual machine, so
management of '/usr/local' is less of a concern.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk