Skip to content

@frodsan /haskell_instalation.md
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Installing Haskell

Haskell Platform for Ubuntu 11.10

Dependencies:

$ sudo apt-get install libgmp3-dev freeglut3 freeglut3-dev

Installing GDHC 7.0.4

$ wget http://www.haskell.org/ghc/dist/7.0.4/ghc-7.0.4-x86_64-unknown-linux.tar.bz2
$ tar -xvvf ghc-7.0.4-x86_64-unknown-linux.tar.bz2 
$ cd ghc-7.0.4
$ ./configure
$ sudo make install

Installing Haskell Platform 2011.4.0.0

$ wget http://lambda.haskell.org/platform/download/2011.4.0.0/haskell-platform-2011.4.0.0.tar.gz
$ tar -xvvf haskell-platform-2011.4.0.0
$ cd haskell-platform-2011.4.0.0
$ ./configure
$ sudo make
$ sudo make install

Testing Haskell

$ ghci
Prelude> "Hola, mundo!"
"Hola, mundo!"
Prelude> :quit # this is for leaving haskell
Leaving GHCi.
@RohithKumar

Hi,

I was trying to install Haskell from your comments. Got this issue in it.
After this step $ cd ghc-7.0.4

:~/ghc-7.0.4$ ./configure
checking for path to top of build tree... ./configure: line 1792: utils/ghc-pwd/dist/build/tmp/ghc-pwd: cannot execute binary file
configure: error: cannot determine current directory

I have ubuntu 12.04.

Kindly help what to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.