macOS
brew install ghc@9.12local Homebrew formula metadata
安装
brew install ghc@9.12local Homebrew formula metadata
sudo dnf install ghc9.12Fedora Rawhide package metadata · ghc9.12 · 来源: dl.fedoraproject.org
sudo apk add ghcAlpine Linux edge package indexes · ghc · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ghcnixpkgs package indexes · ghc · 来源: raw.githubusercontent.com
sudo pacman -S ghcArch Linux sync databases · ghc · 来源: geo.mirror.pkgbuild.com
sudo zypper install ghcopenSUSE Tumbleweed package metadata · ghc · 来源: download.opensuse.org
choco install ghcChocolatey community package catalog · ghc · 来源: community.chocolatey.org
概览
Glorious Glasgow Haskell Compilation System
历史
The Homebrew `ghc@9.12` formula packages the GHC 9.12 branch of the Glasgow Haskell Compiler. It gives users a branch-specific compiler and interpreter set while preserving the same project lineage as the broader GHC package.
GHC began at the University of Glasgow near the beginning of the 1990s as an academic research project funded by the UK government. The project grew from a research compiler into a maintained open-source compiler, interactive environment, library set, and runtime system for Haskell.
The GHC 9.12 branch follows GHC's stable-release convention, where even-numbered minor branches receive patchlevel releases. The user guide warns that even patchlevel upgrades can require recompiling code built against earlier libraries, which is one reason branch-specific packaging is useful.
GHC's adoption is tied to its role as the main compiler used by Haskell projects, package repositories, editor tooling, and build systems. The official site names Hackage libraries, Haskell Language Server, Cabal, Stack, and GHCup as part of the surrounding toolchain.
Homebrew exposes `ghc@9.12` as a separate formula with 9.12-suffixed executables. That formula role is especially useful for build matrices and projects that test a package against a newer stable branch without forcing the unversioned `ghc` formula path.
A practitioner installs `ghc@9.12` when a project, package bound, or CI job targets GHC 9.12. The package supplies compiler, REPL, package-database, script runner, profiling, and Haddock commands with versioned executable names available for precise invocation.
The underlying GHC workflow is unchanged: use `ghc` for batch compilation, `ghci` for interactive exploration, and build tools such as Cabal or Stack to coordinate flags, dependencies, and package databases.
The formula is packaging glue around a compiler branch whose boot libraries and ABI shape downstream package compatibility. Package maintainers care because supporting a GHC branch often means testing bounds, generated docs, warnings, and extension behavior across that branch.
安全态势
没有找到 ghc@9.12 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ghc-9.12.3 | cli | 全局可执行文件 | |
ghc-pkg-9.12.3 | cli | 全局可执行文件 | |
ghci-9.12.3 | cli | 全局可执行文件 | |
haddock-ghc-9.12.3 | cli | 全局可执行文件 | |
hp2ps-ghc-9.12.3 | cli | 全局可执行文件 | |
hpc-ghc-9.12.3 | cli | 全局可执行文件 | |
hsc2hs-ghc-9.12.3 | cli | 全局可执行文件 | |
runghc-9.12.3 | cli | 全局可执行文件 | |
runhaskell-9.12.3 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ghc@9.12 |
|---|---|
| 版本 | 9.12.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ghc@9.12 |
| 主页 | https://haskell.org/ghc/ |
| 仓库 | https://gitlab.haskell.org/ghc/ghc |
| 上游文档 | https://downloads.haskell.org/ghc/9.12.3/docs/users_guide |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://downloads.haskell.org/~ghc/9.12.3/ghc-9.12.3-src.tar.xz |
| 最后更新 | 2026-06-25T13:37:42+02:00 |
| Pulse | updated |
| 依赖 | gmp |
| 构建依赖 | autoconf, automake, python@3.14, sphinx-doc, xz |
| macOS 提供的库 | libffi, ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ghc@9.12 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ghc9.12 9.12.4-17.fc45
Glasgow Haskell Compiler
sudo dnf install ghc9.12ghc9.12-Cabal 3.14.2.0-17.fc45
Haskell Cabal library
https://hackage.haskell.org/package/Cabal
sudo dnf install ghc9.12-Cabalghc9.12-Cabal-devel 3.14.2.0-17.fc45
Haskell Cabal library development files
sudo dnf install ghc9.12-Cabal-develghc9.12-Cabal-doc 3.14.2.0-17.fc45
Haskell Cabal library documentation
sudo dnf install ghc9.12-Cabal-docghc9.12-Cabal-prof 3.14.2.0-17.fc45
Haskell Cabal profiling library
sudo dnf install ghc9.12-Cabal-profghc9.12-Cabal-syntax 3.14.2.0-17.fc45
Haskell Cabal-syntax library
https://hackage.haskell.org/package/Cabal-syntax
sudo dnf install ghc9.12-Cabal-syntaxghc9.12-Cabal-syntax-devel 3.14.2.0-17.fc45
Haskell Cabal-syntax library development files
sudo dnf install ghc9.12-Cabal-syntax-develghc9.12-Cabal-syntax-doc 3.14.2.0-17.fc45
Haskell Cabal-syntax library documentation
sudo dnf install ghc9.12-Cabal-syntax-docghc9.12-Cabal-syntax-prof 3.14.2.0-17.fc45
Haskell Cabal-syntax profiling library
sudo dnf install ghc9.12-Cabal-syntax-profghc9.12-array 0.5.8.0-17.fc45
Haskell array library
https://hackage.haskell.org/package/array
sudo dnf install ghc9.12-arrayghc9.12-array-devel 0.5.8.0-17.fc45
Haskell array library development files
sudo dnf install ghc9.12-array-develghc9.12-array-doc 0.5.8.0-17.fc45
Haskell array library documentation
sudo dnf install ghc9.12-array-docghc9.12-array-prof 0.5.8.0-17.fc45
Haskell array profiling library
sudo dnf install ghc9.12-array-profghc9.12-base 4.21.2.0-17.fc45
Haskell base library
https://hackage.haskell.org/package/base
sudo dnf install ghc9.12-baseghc9.12-base-devel 4.21.2.0-17.fc45
Haskell base library development files
sudo dnf install ghc9.12-base-develghc9.12-base-doc 4.21.2.0-17.fc45
Haskell base library documentation
sudo dnf install ghc9.12-base-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.