Saturday, 19 July 2008

Digital Mars in Ubuntu Hardy

The D or 'Digital Mars' programming language has been around for some years now but a few months ago it became much easier to install the language & the main additional libraries in Ubuntu.

First of all open a terminal & type the following...

sudo wget -O /etc/apt/sources.list.d/dpackages.list

then type in this...

wget -q -O- | sudo apt-key add -

then this...

sudo apt-get update

& finally this.

sudo apt-get install gdc dsss tango-gdc tangobos-gdc dmd tango-dmd tangobos-dmd

For more information check out this site.

If you want to test your installation, just compile & run this 'Hello, World!' program which can be found at the bottom of this page.
Bookmark and Share
Post a Comment