Installing DUB on OSX
Joel via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Feb 18 01:25:00 PST 2016
On Thursday, 18 February 2016 at 08:24:34 UTC, Jacob Carlborg
wrote:
> On 2016-02-18 08:11, Joel wrote:
>> I had dub installed in a folder that meant I had to put 'sudo
>> dub' to
>> run it. I've tried to fix the problem, but where do you put it
>> (also I
>> tried one place, but couldn't put it in that folder)?
>
> You usually have read access to most paths. That means you
> should be able to run dub without sudo. Where is "dub" located?
> Run "which dub".
It's currently in '/usr/local/bin'.
How do I add it to '/usr/bin' (or what ever)?
I get:
Joels-MacBook-Pro:Downloads joelcnz$ cp dub /usr/bin
cp: /usr/bin/dub: Operation not permitted
More information about the Digitalmars-d-learn
mailing list