代码之家  ›  专栏  ›  技术社区  ›  J.Ober

在Windows上安装GHC

  •  0
  • J.Ober  · 技术社区  · 6 年前

    使用本指南的说明在我的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,这样它就可以设置路径等了吗?

    1 回复  |  直到 6 年前
        1
  •  0
  •   Phyx    6 年前

    你可以用巧克力,在这种情况下

    choco install ghc 它将安装ghc和cabal并为您提供一个工作环境。它发布了ghc和cabal的所有版本。

    这里有更多 https://chocolatey.org/packages/ghc/

    [一] https://chocolatey.org