Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure downloads page #252

Merged
merged 1 commit into from
Jun 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions public/content/en/welcome/install-d-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,33 @@

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 @@ -32,3 +41,5 @@ 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)