Difference between revisions of "Installing DMD"

From D Wiki
Jump to: navigation, search
(alternative ways of installing DMD)
(Added a section for Gentoo Linux.)
Line 14: Line 14:
 
== Arch Linux ==
 
== Arch Linux ==
 
There is a package in community repository for [https://www.archlinux.org/packages/community/i686/dmd/ 32 bit dmd] and [https://www.archlinux.org/packages/community/x86_64/dmd/ | 64 bit dmd].
 
There is a package in community repository for [https://www.archlinux.org/packages/community/i686/dmd/ 32 bit dmd] and [https://www.archlinux.org/packages/community/x86_64/dmd/ | 64 bit dmd].
 +
 +
== Gentoo Linux ==
 +
You can use the ebuilds from the [https://wiki.gentoo.org/wiki/Dlang dlang overlay] like this:
 +
<syntaxhighlight lang="bash">
 +
emerge app-portage/layman
 +
layman -f -a dlang
 +
emerge dev-lang/dmd
 +
</syntaxhighlight>
  
 
== Other POSIX compliant ==
 
== Other POSIX compliant ==

Revision as of 22:06, 6 May 2014

Windows

Standard procedure

Easiest and fastest way to get your DMD running on MS Windows is to use DInstaller You can watch instructional video how to do that.

If you'll encounter any problems with missing libraries or non-existing executables, take a look on this.

Alternative ways

Installing DMD on 64-bit Windows 7 (COFF-compatible)

Debian Linux compatible

If you have distribution that's based on APT package manager, you might use APT Repository.

Arch Linux

There is a package in community repository for 32 bit dmd and | 64 bit dmd.

Gentoo Linux

You can use the ebuilds from the dlang overlay like this:

emerge app-portage/layman
layman -f -a dlang
emerge dev-lang/dmd

Other POSIX compliant

You might try looking for precompiled package for your distribution on http://dlang.org/download.html

If it's isn't there you might try building from source.