- Download at: http://www.haskell.org/ghc/download_ghc_7_6_3
- Extract it
# Terminal
$ cd /path/to/ghc/ # replace by the right directory
$ ./configure
if you see this error:
checking for path to top of build tree... utils/ghc-pwd/dist/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
configure: error: cannot determine current directory
use:
# Terminal
$ sudo apt-get install libgmp3c2
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.5 /usr/lib/libgmp.so.3
$ ./configure
$ (sudo) make install
- Download at: http://lambda.haskell.org/platform/download/2013.2.0.0/haskell-platform-2013.2.0.0.tar.gz
- Extract it
# Terminal
$ cd /path/to/haskell-platform/ # replace by the right directory
$ ./configure
$ make
$ sudo make install
make the default configuration to cabal:
# Terminal
$ cabal update
Enjoy!
This one really helped!
Here is very simple build script which can be seen as a summary of your gist:
https://github.com/chrisprobst/ubuntu-rating-haskell