Hacker News new | ask | show | jobs
by SkyMarshal 5125 days ago
Use this [1] to install and maintain various ghc/platform pairs on older versions of Ubuntu. It uses Debian's update-alternatives tool to install multiple versions side-by-side and manage which version is 'active'.

Also, you'll probably need to make sure you've got all the required libraries and their versions [2], 10.04 may need some of them upgraded, not sure.

If that doesn't work, if you have dependency issues and can't fix them, then I suggest installing Ubuntu Server 12.04 in a virtual machine and playing with Haskell there instead. Ubuntu Server is relatively small, a base install in a VM is only about 1.5GB.

1. http://news.ycombinator.com/item?id=4062692

2. http://www.vex.net/~trebla/haskell/haskell-platform.xhtml