如何在Linux Debian Wheezy上安装Haskell平台? [英] How to install Haskell Platform on Linux Debian Wheezy?

查看:107
本文介绍了如何在Linux Debian Wheezy上安装Haskell平台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最初,我以为我会使用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下载页面,则会显示警告,例如Stop ! ..... we recommend installing the Haskell Platform instead of 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 Debian Wheezy上安装Haskell平台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆