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


If you have installed early versions of the packages, you better do as follows

apt-get remove --purge tango-build-essentials dmd libtango-dmd dsss

Depending on the package version you installed, you might additionally have to

rm /usr/share/dmd/dmd.conf*
rm /usr/share/libtango-dmd/dmd.conf*
rm /etc/dmd.conf*
update-alternatives --remove-all dmd.conf

either as root or using sudo.

Sorry for any inconveniences.

Tango on Debian 4.0 "Etch"

There is a Debian repository hosted on

The i386 packages hosted there are

  • dmd The Digital Mars D compiler
  • libtango-dmd The tango library for use with dmd
  • dsss The D Shared Software System.
  • tango-build-essentials (which includes all of the above)

Enabling the repository

Follow these steps to enable it

1. Download the repository key


2. Check the md5sum of the file

md5sum tango.asc

Make sure it is "13b10587f788e3f85233d369e5cd56ea". If it is not, drop me a mail immediately and don not proceed any further!

3. Add the key to your apt keyring

Do this by either

3.1 becoming root

  apt-key add tango.asc


3.2 using sudo

  sudo apt-key add tango.asc

4. Adding the repository to your sources.list

Add the following lines to your /etc/apt/sources.list

deb etch contrib non-free
deb-src etch contrib non-free

Installing the packages

Now the hard stuff is done and installing the whole toolchain for dmd is as easy as:

apt-get update && apt-get install tango-build-essentials

Tango on Ubuntu 8.10 "Intrepid Ibex"

Works exactly as above, you only have to use different lines in /etc/apt/sources.list :

deb intrepid multiverse 
deb-src intrepid  multiverse 

deb intrepid universe 
deb-src intrepid universe 

Tango on Ubuntu 10.10 "Maverick Meerkat"

More information here.


You might want to adjust /etc/rebuild/default to profile=dmd-posix-tango.

This can be done either manually or by doing a

dpkg-reconfigure dsss


  • These are non-official repositories. They packages don't neccesarily follow the packaging standards of their respective distribution (yet).
  • The packaging itself is licensed under GPLv2. This basically means:
    • Use them on your own risk
    • Neither the contributors or members of the tango project nor the package maintainer can be held liable for anything.
    • You can do whatever you want with the code specific to packaging, specifically everything which come in the .diff.gz files
  • You can get help on #d.tango.packaging on