Rust's simple download script

Jacob Carlborg via Digitalmars-d digitalmars-d at
Wed Nov 18 23:58:53 PST 2015

On 2015-11-11 11:24, Martin Nowak wrote:

> Yes, such an installer would be helpful and I already wrote it twice.
> This would be fairly simple to adopt (choosing a good default install
> location, e.g. ~/.dlang) and can already install the latest dmd, gdc,
> ldc, any specific dmd-2.068.2, ldc-0.16.1-alpha1 version, and dub.
> This does not replace a good package installer, but is great for simply
> downloading and testing without doing a system wide installation.
> For the necessary env changes we could adopt something like virtualenv's
> activate/deactive, i.e. `source ~/.dlang/dmd-2.069.0/activate` to use
> dmd-2.069.0. And of course we can activate the env after the download.
> Disclaimer: I did not just volunteer to write the script but I'm glad to
> help anyone doing so.

DVM already does all this. Why reinvent the wheel?

/Jacob Carlborg

More information about the Digitalmars-d mailing list