Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Since a while, I'm developing in Haskell. My question is: what's the easiest way to set up a reasonable development system for Haskell? I installed the official packages, but IMO it's not working very well and some times conflicting whith Cabal installed packages.

Is there anybody with experiences for a better platform? I possibly want to install GHC 7.0 instead of the Haskell platform.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

what's the easiest way to set up a reasonable development system for Haskell?

The easiest, and the most reasonable way to get a Haskell environment running is:

  • sudo apt-get install haskell-platform

    or

  • Click the package to install haskell-platform Install haskell-platform

alt text

The problem with the 7.0.1 platform is that it hasn't all been packaged up nicely for Ubuntu yet, it's still only recommended for early adopters and packagers.

share|improve this answer
    
My problem is, that ubuntu dosn't presents all of the packages available on hackage. But if I install these with Cabal, the depencies may get mixed up. Also, Ubuntu never updates the packages, which is needed some times. –  FUZxxl Dec 29 '10 at 6:02
    
That's right, this package provides a 'standard library', meaning it has dependable versions and is rarely updated for maximum compatibility. If you want all of the latest, you will have to do a complete manual set up of your environment - which isn't easy and straightforward (If you do want to do that, go ahead and ask another question - make it specific to 7.0.1). - But just to be clear, this easy method is tailored towards compatibility and portability. –  Stefano Palazzo Dec 29 '10 at 7:21
    
You may also want to have a look at the 'suggested packages' that apt displays when you install this meta package from the command line. –  Stefano Palazzo Dec 29 '10 at 7:21
    
If you read my question twice, you might have seen, that I pointed towards something like this. But if it's really needed, I'm going to open a new question. –  FUZxxl Dec 29 '10 at 11:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.