Just for kicks I thought I would take another shot at some Haskell programming. To get all of the common libraries and the automated package installer, cabal, I set up the Haskell Platform. Here is how I did it.
Ubuntu Jaunty includes a package for the Haskell compiler, ghc, at version 6.8. The Haskell Platform installer will roll its eyes at you if you try to proceed with this version of ghc. So the first step is to install ghc 6.10.
Paste these lines into
deb http://ppa.launchpad.net/someone561/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/someone561/ppa/ubuntu jaunty main
To get the key to verify packages from that PPA, run this optional command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E51D9310
Then update your package list and install Haskell:
sudo apt-get update sudo apt-get install ghc6 ghc6-prof ghc6-doc haddock
The Haskell Platform website does not list a package for Ubuntu yet. So download the source installer.