按照本指南的说明在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等?
答案 0 :(得分:0)
在这种情况下,您可以使用巧克力[1]
choco install ghc
,它将安装ghc和Cabal,并为您提供工作环境。它发布了ghc和Cabal的每个版本。