简体   繁体   English

是否可以使用 cabal 安装最新版本的 ghc?

[英]Is it possible to install the latest version of ghc using cabal?

I hope the title is self explanatory.我希望标题是不言自明的。 I can't seem to find a ghc package on hackage.我似乎在 hackage 上找不到 ghc package。

No, you cannot.你不能。 However, you can install from binaries or compile it from source (this requires that you have an older GHC to compile it with).但是,您可以从二进制文件安装或从源代码编译它(这要求您有一个较旧的 GHC 来编译它)。 You can get tarballs from the GHC home page .您可以从GHC 主页获取 tarball。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM