macOS
brew install ghc@9.6local Homebrew formula metadata
安装
brew install ghc@9.6local Homebrew formula metadata
sudo dnf install ghc9.6Fedora Rawhide package metadata · ghc9.6 · 来源: 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.6` formula packages the GHC 9.6 branch of the Glasgow Haskell Compiler. It is a version-track compiler package for projects that need the 9.6 generation of GHC, GHCi, boot libraries, package tools, and Haddock.
GHC began at the University of Glasgow near the beginning of the 1990s as an academic research project funded by the UK government. Over time it became the practical compiler and interactive environment that shaped Haskell implementation work, compiler research, and day-to-day package development.
The GHC 9.6 branch follows the stable-branch scheme documented by the user guide, with even-numbered minor branches and patchlevel bug-fix releases. The branch's documentation includes GHCi configuration files such as `$XDG_CONFIG_HOME/ghc/ghci.conf`, `~/.ghc/ghci.conf`, and local `.ghci` files.
GHC's adoption rests on its central place in the Haskell ecosystem: the official site points to Hackage libraries and common tooling such as Haskell Language Server, Cabal, Stack, and GHCup. A versioned formula such as `ghc@9.6` lets maintainers keep older project and CI environments aligned with that compiler branch.
Homebrew exposes `ghc@9.6` separately from the general `ghc` formula. That matters for users who need a branch that matches package bounds, generated interface files, or a build matrix rather than whichever compiler branch the unversioned formula installs.
Practitioners use `ghc@9.6` to compile and test projects that target GHC 9.6. The package includes 9.6-suffixed executable names for the compiler, GHCi, package database tool, Haddock, profiling helpers, and script runners, allowing scripts to invoke the branch explicitly.
Interactive users rely on GHCi for fast edit-and-test loops, custom prompt behavior, imports, and local `.ghci` setup. Build tools generally call the compiler underneath, but package maintainers still inspect GHCi, `ghc-pkg`, profiling output, and Haddock output when diagnosing branch-specific issues.
The formula captures an older stable compiler branch as a package-manager object. That is useful because Haskell package compatibility is often branch-sensitive: boot libraries, warnings, extensions, optimisation behavior, and ABI details can all influence whether a package builds cleanly.
安全态势
没有找到 ghc@9.6 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/ghc/ghci.conf~/.ghc/ghci.conf./.ghci可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ghc-9.6.7 | cli | 全局可执行文件 | |
ghc-pkg-9.6.7 | cli | 全局可执行文件 | |
ghci-9.6.7 | cli | 全局可执行文件 | |
haddock-ghc-9.6.7 | cli | 全局可执行文件 | |
hp2ps-ghc-9.6.7 | cli | 全局可执行文件 | |
hpc-ghc-9.6.7 | cli | 全局可执行文件 | |
hsc2hs-ghc-9.6.7 | cli | 全局可执行文件 | |
runghc-9.6.7 | cli | 全局可执行文件 | |
runhaskell-9.6.7 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ghc@9.6 |
|---|---|
| 版本 | 9.6.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ghc@9.6 |
| 主页 | https://haskell.org/ghc/ |
| 仓库 | https://gitlab.haskell.org/ghc/ghc |
| 上游文档 | https://downloads.haskell.org/ghc/9.6.7/docs/users_guide/ghci.html |
| 许可证 | BSD-3-Clause AND MIT AND (LGPL-3.0-or-later OR GPL-2.0-or-later) |
| 源码归档 | https://downloads.haskell.org/~ghc/9.6.7/ghc-9.6.7-src.tar.xz |
| 最后更新 | 2026-06-25T13:37:43+02:00 |
| Pulse | updated |
| 构建依赖 | autoconf, automake, python@3.14, sphinx-doc |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 已定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ghc@9.6 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ghc9.6 9.6.7-26.fc44
Glasgow Haskell Compiler
sudo dnf install ghc9.6ghc9.6-Cabal 3.10.3.0-26.fc44
Haskell Cabal library
https://hackage.haskell.org/package/Cabal
sudo dnf install ghc9.6-Cabalghc9.6-Cabal-devel 3.10.3.0-26.fc44
Haskell Cabal library development files
sudo dnf install ghc9.6-Cabal-develghc9.6-Cabal-doc 3.10.3.0-26.fc44
Haskell Cabal library documentation
sudo dnf install ghc9.6-Cabal-docghc9.6-Cabal-prof 3.10.3.0-26.fc44
Haskell Cabal profiling library
sudo dnf install ghc9.6-Cabal-profghc9.6-Cabal-syntax 3.10.3.0-26.fc44
Haskell Cabal-syntax library
https://hackage.haskell.org/package/Cabal-syntax
sudo dnf install ghc9.6-Cabal-syntaxghc9.6-Cabal-syntax-devel 3.10.3.0-26.fc44
Haskell Cabal-syntax library development files
sudo dnf install ghc9.6-Cabal-syntax-develghc9.6-Cabal-syntax-doc 3.10.3.0-26.fc44
Haskell Cabal-syntax library documentation
sudo dnf install ghc9.6-Cabal-syntax-docghc9.6-Cabal-syntax-prof 3.10.3.0-26.fc44
Haskell Cabal-syntax profiling library
sudo dnf install ghc9.6-Cabal-syntax-profghc9.6-array 0.5.8.0-26.fc44
Haskell array library
https://hackage.haskell.org/package/array
sudo dnf install ghc9.6-arrayghc9.6-array-devel 0.5.8.0-26.fc44
Haskell array library development files
sudo dnf install ghc9.6-array-develghc9.6-array-doc 0.5.8.0-26.fc44
Haskell array library documentation
sudo dnf install ghc9.6-array-docghc9.6-array-prof 0.5.8.0-26.fc44
Haskell array profiling library
sudo dnf install ghc9.6-array-profghc9.6-base 4.18.3.0-26.fc44
Haskell base library
https://hackage.haskell.org/package/base
sudo dnf install ghc9.6-baseghc9.6-base-devel 4.18.3.0-26.fc44
Haskell base library development files
sudo dnf install ghc9.6-base-develghc9.6-base-doc 4.18.3.0-26.fc44
Haskell base library documentation
sudo dnf install ghc9.6-base-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.