[Haskell-beginners] Linux install walkthrough

Stephen Blackheath [to Haskell-Beginners] mutilating.cauliflowers.stephen at blacksapphire.com
Wed Feb 17 17:14:58 EST 2010


The Haskell Platform is still relatively new, and therefore binary
support is not so good for Linux yet.  But you don't actually lose much
from what the Platform would give you if you use the GHC 6.10 binary
releases from http://haskell.org/ghc/  The fact that this old-fashioned
way works so well has also slowed adoption of the Platform on Linux.

This worked nicely for me on Ubuntu before the Haskell Platform existed.
 Once GHC is installed, you then install cabal-install by hand using its
bootstrap script.  Add $HOME/.cabal/bin/ to your PATH, and then you can
install any package easily with the 'cabal install' command.  There is
no essential difference between this setup and the Platform, except you
start with fewer packages.

Give that a try - You should find it works without fuss.  I suggest you
use 6.10 (not 6.12) as it's the most stable at present.  There are two
Linux binary variants - depending on what libraries are present on your
system (one RedHat flavoured and one Debian flavoured).  This is
explained on the download page.


Adrian Adshead wrote:
> Hi Lakshmi,
> I've had two attempts at getting it going, the first I didn't get very
> far before
> deciding to give other, more up to date, linuxes a go, but had little
> luck on
> that front. Next time around I got further but ran out of time. The
> problem is
> that I want to spend my time writing software (and I have a windows system
> up and running) not trying to fight to get the system working. I really
> didn't
> think it would be too much to ask that a simple install script would exist,
> or at least a HowTo for one of the more popular linuxes (RedHat).
> I will have another look at it this weekend and see how far I get. If I
> manage
> to succeed I will document the process and post it to the wiki. Haskell
> seems
> to be a great language and there are lots of helpful people in the community
> who are willing to help newbies like myself get off the ground, but when the
> 'system' fights back as much as it does I'm not surprised that not many
> people
> use haskell, it's just easier to use something else.
> --- On *Wed, 17/2/10, Lakshmi Narasimhan /<lakshminaras2002 at gmail.com>/*
> wrote:
>     From: Lakshmi Narasimhan <lakshminaras2002 at gmail.com>
>     Subject: Re: [Haskell-beginners] Linux install walkthrough
>     To: adrianadshead at yahoo.co.uk
>     Cc: beginners at haskell.org
>     Date: Wednesday, 17 February, 2010, 13:30
>     Hi Adrian,
>     Were you able to get the installation of Leksah done ? I haven't
>     tried installing leksah from cabal in centos myself but it would be
>     good to know whether it is possible to get leksah built without
>     having to upgrade gtk and glib in Centos 5.4. In that case, we might
>     be able to use some rpms from fedora haskell platform.
>     On Wed, Feb 17, 2010 at 6:34 PM, Stephen Tetley
>     <stephen.tetley at gmail.com </mc/compose?to=stephen.tetley at gmail.com>>
>     wrote:
>         Hi Adrian
>         Is Centos close enough to RedHat to use Fedora packages?
>         The Haskell-Platform seemingly is available as a package:
>         https://admin.fedoraproject.org/pkgdb/users/packages/haskell-sig
>         Leksah has a fairly large set of dependencies so installing it might
>         take some work - particularly where it depends on packages
>         outside the
>         Haskell Plaform (GTK, etc...) you might well want versions from
>         Hackage rather than ones prepackaged for Fedora. It might be worth
>         asking on the Fedora-Haskell-devel mailing list for better advice.
>         Best wishes
>         Stephen
>         _______________________________________________
>         Beginners mailing list
>         Beginners at haskell.org </mc/compose?to=Beginners at haskell.org>
>         http://www.haskell.org/mailman/listinfo/beginners
>     -- 
>     Regards
>     Lakshmi Narasimhan T V
> ------------------------------------------------------------------------
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list