Thread overview
Ldc apt-get is on 0.14.0 (Raspbian)
Jul 13, 2017
Andre Pany
Nov 15, 2017
jmh530
Nov 15, 2017
David Nadlinger
Nov 21, 2017
jmh530
July 13, 2017
Hi,

it is quite nice, you can install LDC on Raspbian via apt-get install ldc.
Unfortunatelly it seems it isn't maintained as it is on version 0.14.0 (v2.0.65).

Also the second resource
https://archlinuxarm.org/packages/armv7h/ldc
is quite old (0.17.1-1).

If possible could you update these resources?

Kind regards
André
November 15, 2017
On Thursday, 13 July 2017 at 18:15:39 UTC, Andre Pany wrote:
> Hi,
>
> it is quite nice, you can install LDC on Raspbian via apt-get install ldc.
> Unfortunatelly it seems it isn't maintained as it is on version 0.14.0 (v2.0.65).
>
> Also the second resource
> https://archlinuxarm.org/packages/armv7h/ldc
> is quite old (0.17.1-1).
>
> If possible could you update these resources?
>
> Kind regards
> André

I've been playing around with the linux subsystem for windows and noticed this as well. sudo apt install ldc gives 0.17 for me. I ended up modifying the install instructions below (from here [1]) for the more recent version.

curl -L -O https://github.com/ldc-developers/ldc/releases/download/v1.4.0/ldc2-1.4.0-linux-x86_64.tar.xz

tar xf ldc2-1.4.0-linux-x86_64.tar.xz
export PATH=$PATH:/path/to/your/ldc2-1.4.0-linux-x86_64/bin
ldc2 --version   # check that ldc is your path

It might make sense to put something like this a little more prominently on the github page, given that it only references using apt for ubuntu and those are older releases currently.


[1] https://wiki.dlang.org/Build_D_for_Android
November 15, 2017
On 15 Nov 2017, at 3:11, jmh530 via digitalmars-d-ldc wrote:
> It might make sense to put something like this a little more prominently on the github page, given that it only references using apt for ubuntu and those are older releases currently.

We have been going back and forth on this, following how involved people were in distro packaging. There is also the issue that packages from Debian/Ubuntu stable will be horribly out of date almost by definition – which I hope people using distros based on that would realise, but may not always do.

If you have any ideas on how to word the readme such as to clearly advertise the release tarballs as the "guaranteed up-to-date" option, could you maybe create a quick PR?

 — David
November 21, 2017
On Wednesday, 15 November 2017 at 12:38:49 UTC, David Nadlinger wrote:
>
> If you have any ideas on how to word the readme such as to clearly advertise the release tarballs as the "guaranteed up-to-date" option, could you maybe create a quick PR?


Sorry, took me longer than I expected to get around to this. I still kind of feel that it needs an example under the Linux heading, but I did not include it for the sake of this PR.

https://github.com/ldc-developers/ldc/pull/2421