From d22e43078ba8f71c2a31e5b9a063cf1a561e0932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20B=20Nagy?= <20251272+BNAndras@users.noreply.github.com> Date: Fri, 8 Mar 2024 06:26:51 -0800 Subject: [PATCH] Clean up installation directions (#208) --- docs/INSTALLATION.md | 50 +++++++++++--------------------------------- 1 file changed, 12 insertions(+), 38 deletions(-) diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index fb23fb14..adaad47a 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -1,57 +1,31 @@ # Prerequisites -The D language track requires that you have the following software -installed on your system: +The D language track requires that you have the following software installed on your system: * a D version 2 compiler * (optional but recommended) DUB ## Prerequisite: D version 2 Compiler -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: - -### Windows - -* [Installer](http://downloads.dlang.org/releases/2.x/2.071.1/dmd-2.071.1.exe) -* or: [Archive](http://downloads.dlang.org/releases/2.x/2.071.1/dmd.2.071.1.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) +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 for several platforms. +See the [official downloads page](https://dlang.org/download.html) for more information. +On Windows, an alternative solution is [to use Chocolatey](https://chocolatey.org/packages/dmd). +On Intel-based Macs, an alternative solution is [to use Homebrew](https://formulae.brew.sh/formula/dmd). ### Other compilers -Besides the DMD reference compiler which uses its own backend, there are two other compilers that can -be fetched through the dlang.org download section: +Besides the DMD reference compiler which uses its own backend, there are two other compilers that can be fetched through the dlang.org download section: * [GDC](http://gdcproject.org/downloads) which uses the GCC backend * [LDC](https://github.com/ldc-developers/ldc#installation) based on the LLVM backend -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. +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). ### IDE support -There are also support for the D language in various IDEs e.g. -[VisualD](http://rainers.github.io/visuald/visuald/StartPage.html) for Visual Studio and -[D plugin](https://plugins.jetbrains.com/plugin/7727?pr=clion) for IntelliJ's CLion. See the wiki -for [more information](https://wiki.dlang.org/IDEs). +There are also support for the D language in various IDEs, e.g. [VisualD](http://rainers.github.io/visuald/visuald/StartPage.html) for Visual Studio and [D plugin](https://plugins.jetbrains.com/plugin/7727?pr=clion) for IntelliJ's CLion. +See the wiki for [more information](https://wiki.dlang.org/IDEs). ### Prerequisite: DUB @@ -63,10 +37,10 @@ We recommend it as a way to simplify the process of running the tests, but it is The [DUB website's download page](https://code.dlang.org/download) has a Windows installer. -#### Mac OS X +#### MacOS -* The [DUB website's download page](https://code.dlang.org/download) has OS X binaries. -* or using [Homebrew](http://brew.sh/): brew install dub +* The [DUB website's download page](https://code.dlang.org/download) has macOS binaries. +* For both Intel and Apple Silicon-based Macs, there is also [a Homebrew package available](https://formulae.brew.sh/formula/dub): #### Linux