Skip to content

Commit

Permalink
Update general Linux install instructions (fixes commercialhaskell#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed May 30, 2016
1 parent 25c072e commit e033277
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/install_and_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit e033277

Please sign in to comment.