[英]Installing GHC on Windows
Using this guide's instructions to install GHC on my Windows 10 instance, I can't follow the first step: 按照本指南的说明在Windows 10实例上安装GHC,我无法执行第一步:
https://downloads.haskell.org/~ghc/6.0/docs/html/users_guide/sec-install-windows.html 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."
Having dowloaded this file from the site linked in that guide, there is no setup.exe. 从该指南中链接的站点下载了此文件,没有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.
I unzip the file to folder "ghc-8.6.2" consisting of folders 我将文件解压缩到包含文件夹的文件夹“ ghc-8.6.2”
"bin, doc, lib, mingw, perl"
(Yes, I searched for the setup.exe) (是的,我搜索了setup.exe)
Could anyone tell me how I could get to the setup.exe so it will take care of setting up PATH etc? 谁能告诉我如何进入setup.exe,以便它负责设置PATH等?
You can use chocolatey [1] in which case it's just 您可以使用巧克力[1],在这种情况下
choco install ghc
which will install ghc and Cabal and give you a working environment. choco install ghc
,它将安装ghc和Cabal,并为您提供工作环境。 It has every version of ghc and Cabal released. 它发布了ghc和Cabal的每个版本。
More here https://chocolatey.org/packages/ghc/ 更多内容https://chocolatey.org/packages/ghc/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.