How to install Haskell Platform on Linux Debian Wheezy?

sakhunzai picture sakhunzai · Aug 24, 2013 · Viewed 7.4k times · Source

Initially I thought I would get install Haskell with couple of commands using apt-get but its seems somehow complex.

As I look at the haskell org download page, I downloaded haskell-platform-2013.2.0.0.tar.gz. Then next step is somehow confusing. It ask to install GHC before installing platform but at the same time if one opens GHC download page , it shows some warning e.g Stop ! ..... we recommend installing the Haskell Platform instead of GHC.

Please guide me how to install Haskell on Debian Wheezy. Can we build a .deb installation package from this package ?

Answer

vivian picture vivian · Aug 24, 2013

$ sudo apt-get install haskell-platform [haskell-platform-doc]

On Debian Jessie, the above will install an outdated Haskell distribution. The latest can still be installed by downloading the "generic" Linux tarball for the Haskell platform.