最新 Haskell 安装后 Cabal 不存在
Cabal not present after latest Haskell install
我正在尝试 Windows7 上 here 的最新 Haskell。我下载了 ghc-8.8.1-x86_64-unknown-mingw32.tar.xz (377.3 MB) 并将其解压缩到一个文件夹中,并将 bin 文件夹路径添加到环境中。
现在我可以 运行 ghc 但 cabal 或 cabal-install 不在那里。
虽然 I:\ghc-8.8.1\lib\Cabal-3.0.0.0 在包里但是没有 cabal.exe 或者 cabal-install.exe
如何在此设置中获得 运行 阴谋集团?感谢您的帮助。
GHC 只是编译器和一组核心库和可执行文件,其中 cabal
-the-program 不是一个。您找到的 Cabal
是一个用于包管理的库。 cabal
计划 是 cabal-install
package, and it depends on the Cabal
library. Without cabal-install
installed, you cannot cabal install cabal-install
. Instead, you have to manually download the cabal
program from the website 的一部分。您可以从源代码构建它,也可以使用预构建的二进制文件之一。
我正在尝试 Windows7 上 here 的最新 Haskell。我下载了 ghc-8.8.1-x86_64-unknown-mingw32.tar.xz (377.3 MB) 并将其解压缩到一个文件夹中,并将 bin 文件夹路径添加到环境中。
现在我可以 运行 ghc 但 cabal 或 cabal-install 不在那里。
虽然 I:\ghc-8.8.1\lib\Cabal-3.0.0.0 在包里但是没有 cabal.exe 或者 cabal-install.exe
如何在此设置中获得 运行 阴谋集团?感谢您的帮助。
GHC 只是编译器和一组核心库和可执行文件,其中 cabal
-the-program 不是一个。您找到的 Cabal
是一个用于包管理的库。 cabal
计划 是 cabal-install
package, and it depends on the Cabal
library. Without cabal-install
installed, you cannot cabal install cabal-install
. Instead, you have to manually download the cabal
program from the website 的一部分。您可以从源代码构建它,也可以使用预构建的二进制文件之一。