Skip to main content

How to install D compiler on Ubuntu

Published 1 min readMarkdown

The problem is, on Ubuntu you cannot simply run

apt-get install dmd

to install D compiler. I hope they add it to official repositories someday but till then you can try this:

First you will need to download appropriate .deb file from D official website: link

Then:

apt-get install gdebi-core

sudo gdebi dmd_2.070.0-0_amd64.deb

Then you can compile any .d source file using

dmd file1.d

About the author

  • Hands-on technology leader with 10+ years building scalable, mission-critical systems at Goldman Sachs, Brevan Howard and fast-growing fintechs. Expert in cloud-native architectures, distributed data pipelines and high-throughput systems; experienced in migrating legacy platforms and designing AI-enabled services. Proven track record delivering reliable platforms that process millions of transactions daily.

No comments yet. Be the first to comment.

More from this blog