Skip to content

Instantly share code, notes, and snippets.

@davidad
Forked from dvdsgl/gist:163462
Created November 9, 2009 15:01
Show Gist options
  • Save davidad/230010 to your computer and use it in GitHub Desktop.
Save davidad/230010 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install dependencies
sudo apt-get install ghc6 ghc6-prof ghc6-doc haddock libglut-dev happy alex \
libedit-dev zlib1g-dev checkinstall libghc6-mtl-prof
# Get haskell-platform
wget http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2.tar.gz
tar -xzf haskell-platform-2009.2.0.2.tar.gz
cd haskell-platform-2009.2.0.2
# Build & Install
./configure
make
sudo checkinstall -y
cabal update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment