Skip to content

Instantly share code, notes, and snippets.

@druzn3k
Forked from Dexyne/Haskell on Ubuntu 13.04.md
Created July 22, 2013 15:44
Show Gist options
  • Select an option

  • Save druzn3k/6054905 to your computer and use it in GitHub Desktop.

Select an option

Save druzn3k/6054905 to your computer and use it in GitHub Desktop.
Install GHC 7.6.3:
- Download at: http://www.haskell.org/ghc/download_ghc_7_6_3
- Extract and go in extract folder
- in terminal use: ./configure
if 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:
- in terminal: sudo apt-get install libgmp3c2
- in terminal: sudo ln -s /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.5 /usr/lib/libgmp.so.3
- try again (in terminal: ./configure)
- in terminal: (sudo) make install
Install haskell-plateform (2013.2.0.0):
- Download at: http://lambda.haskell.org/platform/download/2013.2.0.0/haskell-platform-2013.2.0.0.tar.gz
- Extract and go in extract folder
- in terminal: ./configure
- in terminal: make
- in terminal: sudo make install
make the default configuration to cabal:
- in terminal: cabal update
Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment