From e033277e617597e2ca611fcc3bebfcac272ce7a1 Mon Sep 17 00:00:00 2001 From: Emanuel Borsboom Date: Mon, 30 May 2016 14:16:56 -0700 Subject: [PATCH] Update general Linux install instructions (fixes #2209) --- doc/install_and_upgrade.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/install_and_upgrade.md b/doc/install_and_upgrade.md index cbfc026d16..27240e5f35 100644 --- a/doc/install_and_upgrade.md +++ b/doc/install_and_upgrade.md @@ -264,6 +264,10 @@ Stack](http://nixos.org/nixpkgs/manual/#using-stack-together-with-nix). * Extract the archive and place `stack` somewhere on your `$PATH` (see [Path section below](#path)) +* Ensure you have required system dependencies installed. These include GCC, GNU make, xz, perl, libgmp, libffi, and zlib. We also recommend Git and GPG. To install these using your package manager: + * Debian / Ubuntu: `sudo apt-get install g++ gcc libc6-dev libffi-dev libgmp-dev make xz-utils zlib1g-dev git gnupg` + * Fedora / CentOS: `sudo dnf install perl make automake gcc gmp-devel libffi zlib xz tar git gnupg` (use `yum` instead of `dnf` on CentOS and Fedora <= 21) + * Now you can run `stack` from the terminal. Tested on Fedora 20: make sure to install the following packages `sudo yum install perl make automake gcc gmp-devel`.