[Haskell-beginners] recommended way to get haskell 6.10 installed on ubuntu hardy?

Erik de Castro Lopo mle+hs at mega-nerd.com
Mon Nov 23 16:24:13 EST 2009

Joe Van Dyk wrote:

> There's no ubuntu package for 6.10 (only 6.8), and the haskell
> platform says you need 6.10 installed to build the source package.

At work we use hardy and to get the latest haskell stuff I did
the following:

 a) Install ghc-6.8.
 b) Add this to /etc/apt/sources.list:

       deb-src http://ftp.au.debian.org/debian unstable main non-free contrib

 c) Get the sources to ghc-6.10 using:

       apt-get build-dep ghc6
       apt-get source ghc-6.10

 d) Build the package and install it.
 e) Apt get the sources to the libraries and build/install them.

Its painful and you do need to be reasonably comfortable with building
debian packages, but it worked for me.

Erik de Castro Lopo

More information about the Beginners mailing list