Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ubuntu specific installation for dummies

Add the general compiler tools:

sudo aptitude install build-essential

Go to the following webpage and download the installer that is bundled with both GDC and DSSS: http://www.dsource.org/projects/tango/wiki/GdcDownloads or just:

wget http://downloads.dsource.org/projects/tango/0.98/tango-0.98-forDSSS-gdc-i686-pc-linux-gnu-withDSSS-withGDC.sh

Then we make the file excuteable

chmod +x tango-0.98-forDSSS-gdc-i686-pc-linux-gnu-withDSSS-withGDC.sh

Execute the script:

sudo ./tango-0.98-forDSSS-gdc-i686-pc-linux-gnu-withDSSS-withGDC.sh

You will be asked for an installation directory (the recommended is: /usr/local).

And finally we configure rebuild

sudo nano /etc/rebuild

Make it contain these two lines:

include=/usr/local/include/d
flags=-fversion=Posix -fversion=Tango

Now you can compile a file with: rebuild something.d