如何在Linux上安装Haskell Debian Wheezy? [英] How to install Haskell on Linux Debian Wheezy?
问题描述
最初我以为我会使用apt-get来安装Haskell几个命令,但是似乎有些复杂。
Initially I thought I would get install Haskell with couple of commands using apt-get but its seems somehow complex.
当我查看 haskell org下载页面,我下载了 haskell-platform-2013.2.0.0.tar.gz
。那么下一步是有点混乱。在安装平台之前,请求安装 GHC
,但同时如果打开GHC下载页面,则会显示一些警告,例如停止! .....我们建议安装Haskell Platform而不是GHC
。
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
.
请指导我如何在Debian Wheezy上安装Haskell。我们可以从这个包中建立一个 .deb
安装包吗?
Please guide me how to install Haskell on Debian Wheezy. Can we build a .deb
installation package from this package ?
推荐答案
$ sudo apt-get install haskell-platform [haskell-platform-doc]
在Debian Jessie上面将安装一个过时的Haskell发行版。最新的还可以通过下载Haskell平台的通用Linux压缩包来安装。
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.
这篇关于如何在Linux上安装Haskell Debian Wheezy?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!