How to install Haskell Platform on Linux Debian Wheezy?

7.8k views Asked by At

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 ?

1

There are 1 answers

0
vivian On BEST ANSWER

$ 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.