Why does DMD on Debian need xdg-utils

Mathias Lang via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 2 14:32:28 PDT 2016


It shouldn't be necessary. I believe that is because of `dmd -man`, which
open a web browser.

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).

2016-06-02 20:17 GMT+02:00 ZombineDev via Digitalmars-d <
digitalmars-d at puremagic.com>:

> On Thursday, 2 June 2016 at 18:04:43 UTC, flamencofantasy wrote:
>
>> On Thursday, 2 June 2016 at 17:54:07 UTC, ZombineDev wrote:
>>
>>> On Thursday, 2 June 2016 at 17:36:46 UTC, flamencofantasy wrote:
>>>
>>>> DMD on debian depends on the xdg-utils package.
>>>>
>>>> When I install xdg-utils I get many more packages (see bottom of
>>>> message).
>>>>
>>>> Is that really necessary?
>>>>
>>>> Thanks.
>>>>
>>>
>>> It shouldn't be necessary. It's probably a packaging issue. Meanwhile,
>>> you can try the install.sh script on listed on http://dlang.org/download.
>>> It shouldn't have any unnecessary dependencies.
>>>
>>
>> Thanks, but does the script handle upgrades?
>>
>
> Yes. It also supports multiple versions side by side and also installs
> dub. You can find the source here:
> https://github.com/dlang/installer/blob/master/script/install.sh
>
> Example usage:
>
> # Install dmd 2.70.0
> ~/dlang/install.sh install dmd-2.70.0
>
> # Install dmd 2.69.0
> ~/dlang/install.sh install dmd-2.69.0
>
> # start using version 2.70.0
> activate ~/dlang/dmd-2.70.0
>
> # stop using version 2.70.0
> deactivate
>
> # start using version 2.69.0
> activate ~/dlang/dmd-2.69.0
>
> # stop using version 2.69.0
> deactivate
>
> # uninstall version 2.69.0
> ~/dlang/install.sh uninstall dmd-2.69.0
>
> # removes everything installed so far
> rm -rf ~/dlang
>
> # downloads (again) the install script and
> # installs the latest stable version of the compiler.
> curl -fsS https://dlang.org/install.sh | bash -s dmd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160602/bfe6c560/attachment.html>


More information about the Digitalmars-d mailing list