macOS
brew install ghc@9.12local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
brew
Glorious Glasgow Haskell Compilation System. Version 9.12.3 via Homebrew; verified 2026-06-25.
install
brew install ghc@9.12local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
sudo dnf install ghc9.12Fedora Rawhide package metadata · ghc9.12 · source: dl.fedoraproject.org
sudo apk add ghcAlpine Linux edge package indexes · ghc · source: dl-cdn.alpinelinux.org
sudo apt install ghcDebian stable package indexes · ghc · source: deb.debian.org
nix profile install nixpkgs#ghcnixpkgs package indexes · ghc · source: raw.githubusercontent.com
sudo pacman -S ghcArch Linux sync databases · ghc · source: geo.mirror.pkgbuild.com
sudo zypper install ghcopenSUSE Tumbleweed package metadata · ghc · source: download.opensuse.org
choco install ghcChocolatey community package catalog · ghc · source: community.chocolatey.org
overview
Glorious Glasgow Haskell Compilation System
history
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.
security posture
No matching local secret-handling manifest was found for ghc@9.12. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ghc-9.12.3 | cli | global executable | |
ghc-pkg-9.12.3 | cli | global executable | |
ghci-9.12.3 | cli | global executable | |
haddock-ghc-9.12.3 | cli | global executable | |
hp2ps-ghc-9.12.3 | cli | global executable | |
hpc-ghc-9.12.3 | cli | global executable | |
hsc2hs-ghc-9.12.3 | cli | global executable | |
runghc-9.12.3 | cli | global executable | |
runhaskell-9.12.3 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:ghc@9.12 |
|---|---|
| Version | 9.12.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghc@9.12 |
| Homepage | https://haskell.org/ghc/ |
| Repository | https://gitlab.haskell.org/ghc/ghc |
| Upstream docs | https://downloads.haskell.org/ghc/9.12.3/docs/users_guide |
| License | BSD-3-Clause |
| Source archive | https://downloads.haskell.org/~ghc/9.12.3/ghc-9.12.3-src.tar.xz |
| Last updated | 2026-06-25T13:37:42+02:00 |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | autoconf, automake, python@3.14, sphinx-doc, xz |
| Uses from macOS | libffi, ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.