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`.