Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove script and revert INSTALL

  • Loading branch information...
commit 903e98a3fa65cef78eb00d12e2bd3a9557335b61 1 parent 9782a01
@ingydotnet ingydotnet authored
View
6 INSTALL
@@ -3,12 +3,6 @@ Haskell Platform. The steps are:
0. Download and install the Haskell Platform:
-For Debian/Ubuntu:
-
- sudo apt-get install haskell-platform
-
-else go to:
-
http://hackage.haskell.org/platform/
Alternately, one can also install only the GHC compiler, and manually set up
View
67 install-haskell-platform-ghc7-and-pugs-on-debian-or-ubuntu-from-scratch.sh
@@ -1,67 +0,0 @@
-#!/bin/sh
-
-# This script will remove all traces of Haskell and GHC and Cabal from your debian
-# system and install ghc-7.0.3 and the Haskell Platform. Then it will install
-# Pugs. Good luck abd patience. You'll need both in spades.
-#
-# Usage:
-# PLATFORM=i386 ./install-haskell-platform-ghc7-and-pugs-on-debian-or-ubuntu-from-scratch.sh
-#
-# Where PLATFORM is one of the values below:
-#
-# PLATFORM=i386
-# PLATFORM=x86_64
-
-if [ -z "$PLATFORM" ]; then
- echo "You need to set PLATFORM environment variable to i386 or x86_64"
- exit 1
-fi
-
-# Start with a Haskell-free system:
-sudo apt-get purge haskell-platform ghc
-sudo apt-get autoremove
-rm -fr ~/.cabal
-
-# Install debian deps for haskell-platform
-sudo apt-get install libgmp3-dev libedit2 libedit-dev freeglut3-dev libglu1-mesa-dev
-# Install debian deps for pugs
-sudo apt-get install libperl-dev libncurses-dev libncurses5-dev
-
-VERSION=7.0.3
-NAME=ghc-$VERSION
-TARBALL=$NAME-$PLATFORM-unknown-linux.tar.bz2
-rm -fr $NAME
-# Download is huge so we do this in case we need to repeat:
-if [ ! -f ~/$TARBALL ]; then
- wget http://haskell.org/ghc/dist/$VERSION/$TARBALL
- mv $TARBALL ~/$TARBALL
-fi
-tar xjf ~/$TARBALL
-
-cd $NAME
-./configure
-sudo make install
-cd -
-rm -fr $NAME
-
-VERSION=2011.2.0.1
-NAME=haskell-platform-$VERSION
-TARBALL=$NAME.tar.gz
-
-rm -fr $NAME $TARBALL
-wget http://lambda.galois.com/hp-tmp/$VERSION/$TARBALL
-tar xzf $TARBALL
-cd $NAME
-./configure
-make
-sudo make install
-cd -
-rm -fr $NAME $TARBALL
-
-# Time to install Pugs!
-cabal upgrade
-cabal install pugs
-
-echo Haskell and Pugs installed!
-echo
-echo 'Try: pugs -e '"'"'say "Pugs works!"'"'"
Please sign in to comment.
Something went wrong with that request. Please try again.