Created
June 21, 2013 14:31
-
-
Save mklinik/5831561 to your computer and use it in GitHub Desktop.
How to install Haskell from scratch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to install Haskell from scratch | |
----------------------------------- | |
- Attention: There is a matching version of GHC for each version of Haskell | |
Platform, make sure you check to install the one matching the Haskell | |
Platform you plan to install | |
- Download binary GHC package from http://www.haskell.org/ghc/ | |
- Unpack, then: | |
$ export VERSION=7.4.1 # adapt | |
$ cd ghc-$VERSION | |
$ ./configure --prefix=$HOME/ghc-$VERSION | |
$ make install # takes 1 minute | |
$ export PATH=$HOME/ghc-$VERSION/bin:$PATH # you want to put this to .profile or something | |
- Download Haskell Platform that fits the GHC version from http://hackage.haskell.org/platform/ | |
- Unpack, then: | |
$ cd haskell-platform-$VERSION | |
$ ./configure --prefix=$HOME/ghc-$VERSION # we're installing ghc and platform to the same directory | |
$ make install # takes ~20 minutes on my x41 | |
- Done. continue with cabal update etc. | |
See also | |
-------- | |
http://www.vex.net/~trebla/haskell/haskell-platform.xhtml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment