Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for that nice guide! I was actually expecting to install GHC by hand eventually (for now, 7.4 is sufficient).



Since you're on Debian you can use the awesome Update Alternatives to install Haskell, which is an even better way in my opinion:

https://github.com/byrongibson/scripts/blob/master/install/h...

Tons of advantages to doing it that way, including the ability to easily maintain multiple versions of both GHC and Platform on the same system and swap between them with a single command. Also doesn't clutter up /usr/local/ with binaries not managed by apt or dpkg.

More generally, update-alternatives is a godsend for Stable users. It's like RVM or RBENV in the Ruby world - lets you install and manage multiple versions of the same platform and easily swap between them with a single command, including the system version from repos if you want. It frees you from out of date software in the repos while still providing a system to manage the complexities of it all.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: