Installing DUB on OSX

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 18 00:18:20 PST 2016


On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
> On Thursday, 18 February 2016 at 07:11:23 UTC, 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)?
>
> I've now tried 'brew install dub' and 'brew upgrade dub', but 
> they come up with, 'Warning: dub-0.9.22 already installed', or 
> 'Error: dub 0.9.22 already installed'.

What I do here:

- git clone DUB to ~/Desktop/dub
- built it with build.sh
- put symbolic links to the binary in /usr/bin




More information about the Digitalmars-d-learn mailing list