Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

Downloads

Choose a compiler

DMD

  • Official reference compiler
  • Latest D version
  • Simple installation
  • Very fast compilation speeds
  • Architectures: i386, amd64

GDC

  • GCC-based D compiler
  • Strong optimization
  • GreatGDB support
  • Architectures: i386, amd64, x32, armel, armhf,others

LDC

Language Server

To start coding effectively, we recommend using an editor supporting the Language Server Protocol. ForVSCode you can immediately install theVSCode extensioncode-d[openvsx]

DMD 2.112.0

Changelog

Windows
OSX Lion

Ubuntu  Debian
Fedora  CentOS
OpenSUSE
FreeBSD 8.1

FreeBSD

Install Script

curl -fsS https://dlang.org/install.sh | bash -s dmd

Release Archive

GPG keys
Nightly Builds
D on GitHub

Third-party downloads

These links are not maintained by the same people maintaining the official downloads.

Arch Linux

Arch Linux

pacman -S dlang
Gentoo

Gentoo

eselect repository enable dlang
Homebrew

Homebrew

brew install dmd
Nix/NixOS

Nix/NixOS

nix-env -iA nixpkgs.dmd
derivations for various compiler versions
UbuntuDebian

Ubuntu/Debian

APT repository
sudo wget https://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.listsudo apt-get update --allow-insecure-repositoriessudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyringsudo apt-get update && sudo apt-get install dmd-compiler dub
Docker

Docker

docker run --rm -ti -v $(pwd):/src dlang2/dmd-ubuntu dmd
OpenSUSE

OpenSUSE Tumbleweed

sudo zypper install dmd
Snap

Snap

# install DMD compiler (including RDMD)sudo snap install --classic dmd# install DUB package/build managersudo snap install --classic dub# install LDC compiler with LLVM backendsudo snap install --classic ldc2
OpenBSD

OpenBSD

# install DMD compilerdoas pkg_add dmd# install DUB package/build manager (and DMD if not already installed)doas pkg_add dub# install D toolsdoas pkg_add dtools

Other Downloads

Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Sat Feb 21 00:14:00 2026

[8]ページ先頭

©2009-2026 Movatter.jp