macOS
brew install ghc@9.6local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
brew
Glorious Glasgow Haskell Compilation System. Version 9.6.7 via Homebrew; verified 2026-06-25.
install
brew install ghc@9.6local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
sudo dnf install ghc9.6Fedora Rawhide package metadata · ghc9.6 · 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.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.
security posture
No matching local secret-handling manifest was found for ghc@9.6. 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.
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./.ghciexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ghc-9.6.7 | cli | global executable | |
ghc-pkg-9.6.7 | cli | global executable | |
ghci-9.6.7 | cli | global executable | |
haddock-ghc-9.6.7 | cli | global executable | |
hp2ps-ghc-9.6.7 | cli | global executable | |
hpc-ghc-9.6.7 | cli | global executable | |
hsc2hs-ghc-9.6.7 | cli | global executable | |
runghc-9.6.7 | cli | global executable | |
runhaskell-9.6.7 | 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.6 |
|---|---|
| Version | 9.6.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghc@9.6 |
| Homepage | https://haskell.org/ghc/ |
| Repository | https://gitlab.haskell.org/ghc/ghc |
| Upstream docs | https://downloads.haskell.org/ghc/9.6.7/docs/users_guide/ghci.html |
| License | BSD-3-Clause AND MIT AND (LGPL-3.0-or-later OR GPL-2.0-or-later) |
| Source archive | https://downloads.haskell.org/~ghc/9.6.7/ghc-9.6.7-src.tar.xz |
| Last updated | 2026-06-25T13:37:43+02:00 |
| Pulse | updated |
| Build dependencies | autoconf, automake, python@3.14, sphinx-doc |
| Uses from macOS | ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-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.