Skip to main content

Command Palette

Search for a command to run...

How to install D compiler on Ubuntu

Published
1 min read
M

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.

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

More from this blog

A

A Blog about Software Development

96 posts