I want to install the latest Haskell Platform on my Raspberry Pi.
Unfortunately my linux-fu is very weak. I can apt-get install haskell-platform
which works, as far as it goes, but installs a very old version from the official package repository. Part of the code I want to compile only compiles against GHC 7.8.
Run the command "$ sudo apt-get install haskell-platform" and press Enter. It will automatically start downloading Haskell on your system after authenticating you with the root password. After installing, you will receive a confirmation message.
If you have installed the Haskell Platform, open a terminal and type ghci (the name of the executable of the GHC interpreter) at the command prompt. Alternatively, if you are on Windows, you may choose WinGHCi in the Start menu. And you are presented with a prompt. The Haskell system now attentively awaits your input.
You can get the latest GHC Debian Packages from http://deb.haskell.org
Instructions for installation here
As the comments discuss, the experimental
suite contains (very) recent ghcs (including ghc release candidates).
You can install packages from there like so:
apt-get update
apt-get -t experimental install packagename
unstable
also contains ghcs that are actually released.
And the generic linux binary platform also will work with debian.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With