Skip to content

Commit

Permalink
Restructure downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Jun 11, 2016
1 parent 5cb1d1d commit 30ee6d3
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions public/content/en/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,33 @@ void main() {

On the D language's website [dlang.org](https://dlang.org) the most recent
compiler version of the reference compiler **DMD** (Digital Mars D)
can be downloaded and installed offline:

* There is a Windows installer available - or a ZIP file which
contains the pre-compiled toolkit. Installing with
[chocolatey](https://chocolatey.org/packages/dmd)
is another option.
* For Mac OS X there is a `.dmg` package. The most recent can also be installed
with `brew install dmd` using [Homebrew](http://brew.sh).
* There are officially supported Linux packages for Fedora, OpenSuse and
Debian/Ubuntu. For the latter a regularly updated repository exists
at [d-apt.source-forge.net](http://d-apt.sourceforge.net).
* On OSX, Linux, and FreeBSD a [script](https://dlang.org/install.sh) can
be used to easily install different compilers and dub to `$HOME/dlang`.

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

can be [downloaded](http://dlang.org/download.html) and installed:

### Windows

* [Installer](http://downloads.dlang.org/releases/2.x/2.071.0/dmd-2.071.0.exe)
* or: [Archive](http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.windows.7z)
* using [chocolatey](https://chocolatey.org/packages/dmd): `choco install dmd`

### Mac OS X

* `.dmg` [package](http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.dmg)
* or: [Archive](http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.osx.tar.xz)
* using [Homebrew](http://brew.sh): `brew install dmd`

### Linux / FreeBSD

To quickly install dmd within your user directory, run: `curl -fsS https://dlang.org/install.sh | bash -s dmd`

Packages for various distributions are provided:

* [ArchLinux](https://wiki.archlinux.org/index.php/D_(programming_language))
* [Debian/Ubuntu](http://d-apt.sourceforge.net).
* [Fedora/CentOS](http://dlang.org/download.html#dmd)
* [Gentoo](https://wiki.gentoo.org/wiki/Dlang)
* [OpenSuse](http://dlang.org/download.html#dmd)

### Other compilers

Besides the DMD reference compiler which uses its own backend, there are
two other compilers that can be fetched through the
Expand All @@ -88,6 +97,8 @@ GDC and LDC aren't always at the most recent DMD frontend's versions,
but provide better optimization levels as well as support
for other platforms like e.g. ARM.

See the wiki for [more information](https://wiki.dlang.org/Compilers)

# Run D program locally

D's standard package manager is [dub](http://code.dlang.org). When dub is
Expand Down

0 comments on commit 30ee6d3

Please sign in to comment.