5 ms·
Installing GHC manually is not hard, the website even provides pre-compiled binaries. I started doing it for different reasons, but was surprised how painless t
by quchen 13y ago
Installing GHC manually is not hard, the website even provides pre-compiled binaries. I started doing it for different reasons, but was surprised how painless the process was. After doing it multiple times, I wrote together a file that guides me through the process, which you can find here: https://github.com/quchen/articles/blob/master/install_haskell_platform_manually.md https://github.com/quchen/articles/blob/master/install_haske...
- gnuvince 13y agoThanks for that nice guide! I was actually expecting to install GHC by hand eventually (for now, 7.4 is sufficient).
- SkyMarshal 13y agoSince 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/haskell/README.md 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.