Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Haskell Platform on Linux Debian Wheezy?

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 ?

like image 653
sakhunzai Avatar asked Aug 24 '13 05:08

sakhunzai


People also ask

How install Haskell Linux?

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.

How do I run a Haskell window?

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.


1 Answers

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

like image 187
vivian Avatar answered Oct 23 '22 03:10

vivian