<div dir="ltr">It shouldn't be necessary. I believe that is because of `dmd -man`, which open a web browser.<br><br>That's an apt-d issue (in hopefully Jordi Sayol will read this) which prevents using this repository if your machine has no X (I guess you discovered that on a server, as I did).</div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-02 20:17 GMT+02:00 ZombineDev via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thursday, 2 June 2016 at 18:04:43 UTC, flamencofantasy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thursday, 2 June 2016 at 17:54:07 UTC, ZombineDev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thursday, 2 June 2016 at 17:36:46 UTC, flamencofantasy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
DMD on debian depends on the xdg-utils package.<br>
<br>
When I install xdg-utils I get many more packages (see bottom of message).<br>
<br>
Is that really necessary?<br>
<br>
Thanks.<br>
</blockquote>
<br>
It shouldn't be necessary. It's probably a packaging issue. Meanwhile, you can try the install.sh script on listed on <a href="http://dlang.org/download" rel="noreferrer" target="_blank">http://dlang.org/download</a>. It shouldn't have any unnecessary dependencies.<br>
</blockquote>
<br>
Thanks, but does the script handle upgrades?<br>
</blockquote>
<br></div></div>
Yes. It also supports multiple versions side by side and also installs dub. You can find the source here: <a href="https://github.com/dlang/installer/blob/master/script/install.sh" rel="noreferrer" target="_blank">https://github.com/dlang/installer/blob/master/script/install.sh</a><br>
<br>
Example usage:<br>
<br>
# Install dmd 2.70.0<br>
~/dlang/install.sh install dmd-2.70.0<br>
<br>
# Install dmd 2.69.0<br>
~/dlang/install.sh install dmd-2.69.0<br>
<br>
# start using version 2.70.0<br>
activate ~/dlang/dmd-2.70.0<br>
<br>
# stop using version 2.70.0<br>
deactivate<br>
<br>
# start using version 2.69.0<br>
activate ~/dlang/dmd-2.69.0<br>
<br>
# stop using version 2.69.0<br>
deactivate<br>
<br>
# uninstall version 2.69.0<br>
~/dlang/install.sh uninstall dmd-2.69.0<br>
<br>
# removes everything installed so far<br>
rm -rf ~/dlang<br>
<br>
# downloads (again) the install script and<br>
# installs the latest stable version of the compiler.<br>
curl -fsS <a href="https://dlang.org/install.sh" rel="noreferrer" target="_blank">https://dlang.org/install.sh</a> | bash -s dmd<br>
<br>
</blockquote></div><br></div>