繁体   English   中英

在Windows上安装GHC

[英]Installing GHC on Windows

按照本指南的说明在Windows 10实例上安装GHC,我无法执行第一步:

https://downloads.haskell.org/~ghc/6.0/docs/html/users_guide/sec-install-windows.html

"Download the Installshield setup.exe from the GHC download page haskell.org."

从该指南中链接的站点下载了此文件,没有setup.exe。

Windows 64-bit (x86_64)
ghc-8.6.2-x86_64-unknown-mingw32.tar.xz (203.8 MB, sig)
This is compatible with Microsoft Windows Vista and later. It also includes 
support for compiling C++ files.

我将文件解压缩到包含文件夹的文件夹“ ghc-8.6.2”

"bin, doc, lib, mingw, perl"

(是的,我搜索了setup.exe)

谁能告诉我如何进入setup.exe,以便它负责设置PATH等?

您可以使用巧克力[1],在这种情况下

choco install ghc ,它将安装ghc和Cabal,并为您提供工作环境。 它发布了ghc和Cabal的每个版本。

更多内容https://chocolatey.org/packages/ghc/

[1] https://chocolatey.org

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM