簡體   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