D needs to get its shit together!

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 17 04:01:29 PDT 2017


On Sat, 2017-06-17 at 08:27 +0000, Sebastien Alaiwan via Digitalmars-d
wrote:
> On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote:
> > When a new user goes to start using D for the first time, D is 
> > a PITA to get working! Don't believe me?!?!
> 
> I'm running Debian GNU/Linux (testing). Here's the installation 
> process for the 3 major D compilers.
> 
> $ apt install gdc
> $ gdc my_first_program.d

Or use aptitude, which I believe remains the Debian preferred high-
level tool.

> GDC is too old for you? Fine, let's use ldc:
> 
> $ apt install ldc
> $ ldc2 my_first_program.d

Definitely, caveat aptitude.

> Or if you want the bleeding edge version of D:
> 
> (download dmd .deb package from dlang.org)
> $ dpkg -i dmd_*******.deb
> $ rdmd my_first_program.d

I wonder if it is better to use the d-apt repository for DMD rather
than downloading. Downloading is always a pain for updating packages.

http://d-apt.sourceforge.net/

OK so it is on SourceForge, but it does work.

> Debian maintainers, one word: Thank you!

That's two words. :-)

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170617/49154a8d/attachment.sig>


More information about the Digitalmars-d mailing list