macOS
brew install ghc@9.8local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
brew
Glorious Glasgow Haskell Compilation System. Version 9.8.4 via Homebrew; verified 2026-06-25.
install
brew install ghc@9.8local Homebrew formula metadata
sudo port install ghcMacPorts ports tree · lang/ghc/Portfile · source: api.github.com
sudo dnf install ghc9.8Fedora Rawhide package metadata · ghc9.8 · 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.8` formula packages the GHC 9.8 branch of the Glasgow Haskell Compiler. It exists for projects and build environments that need that compiler generation rather than the unversioned Homebrew formula.
GHC began at the University of Glasgow near the beginning of the 1990s as a government-funded academic research project. The compiler's design combined a batch compiler, an interactive interpreter, boot libraries, and a runtime system that made Haskell practical for both research and production code.
The GHC 9.8 branch is part of the stable-branch sequence described by the user guide. That versioning policy matters to downstream packages because even patchlevel upgrades can force recompilation of code built against older boot libraries.
The broader GHC project became the center of Haskell tooling: Hackage libraries, Cabal, Stack, Haddock, Haskell Language Server, and GHCup all assume GHC as a common compiler target. A versioned Homebrew formula helps macOS users install a branch that matches a package set or CI matrix.
Homebrew lists `ghc@9.8` as a separate formula with the same Glasgow Haskell Compilation System description as the unversioned package. The batch input records 9.8.4-suffixed executables, showing the branch-specific command names provided by the package.
Practitioners use `ghc@9.8` for compiling, testing, and documenting projects pinned to the 9.8 branch. Version-suffixed commands such as `ghc-9.8.4`, `ghci-9.8.4`, `ghc-pkg-9.8.4`, and `haddock-ghc-9.8.4` make explicit branch selection possible in scripts.
GHCi usage follows the standard GHC workflow: load source files interactively, evaluate expressions at the prompt, configure startup behavior with `.ghci` files, and switch back to batch compilation for optimized builds.
For package maintainers, `ghc@9.8` is valuable because compiler branches are not interchangeable implementation details. They carry specific boot libraries, supported extensions, warnings, optimization behavior, and generated interface compatibility that package bounds often encode.
security posture
No matching local secret-handling manifest was found for ghc@9.8. 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.8.4 | cli | global executable | |
ghc-pkg-9.8.4 | cli | global executable | |
ghci-9.8.4 | cli | global executable | |
haddock-ghc-9.8.4 | cli | global executable | |
hp2ps-ghc-9.8.4 | cli | global executable | |
hpc-ghc-9.8.4 | cli | global executable | |
hsc2hs-ghc-9.8.4 | cli | global executable | |
runghc-9.8.4 | cli | global executable | |
runhaskell-9.8.4 | 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.8 |
|---|---|
| Version | 9.8.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ghc@9.8 |
| Homepage | https://haskell.org/ghc/ |
| Repository | https://gitlab.haskell.org/ghc/ghc |
| Upstream docs | https://downloads.haskell.org/ghc/9.8.4/docs/users_guide |
| 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.8.4/ghc-9.8.4-src.tar.xz |
| Last updated | 2026-06-25T13:37:43+02:00 |
| Pulse | updated |
| Build dependencies | autoconf, automake, python@3.14, sphinx-doc, xz |
| Uses from macOS | 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.8 |
| 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.8 9.8.4-16.fc43
Glasgow Haskell Compiler
sudo dnf install ghc9.8ghc9.8-Cabal 3.10.3.0-16.fc43
Haskell Cabal library
https://hackage.haskell.org/package/Cabal
sudo dnf install ghc9.8-Cabalghc9.8-Cabal-devel 3.10.3.0-16.fc43
Haskell Cabal library development files
sudo dnf install ghc9.8-Cabal-develghc9.8-Cabal-doc 3.10.3.0-16.fc43
Haskell Cabal library documentation
sudo dnf install ghc9.8-Cabal-docghc9.8-Cabal-prof 3.10.3.0-16.fc43
Haskell Cabal profiling library
sudo dnf install ghc9.8-Cabal-profghc9.8-Cabal-syntax 3.10.3.0-16.fc43
Haskell Cabal-syntax library
https://hackage.haskell.org/package/Cabal-syntax
sudo dnf install ghc9.8-Cabal-syntaxghc9.8-Cabal-syntax-devel 3.10.3.0-16.fc43
Haskell Cabal-syntax library development files
sudo dnf install ghc9.8-Cabal-syntax-develghc9.8-Cabal-syntax-doc 3.10.3.0-16.fc43
Haskell Cabal-syntax library documentation
sudo dnf install ghc9.8-Cabal-syntax-docghc9.8-Cabal-syntax-prof 3.10.3.0-16.fc43
Haskell Cabal-syntax profiling library
sudo dnf install ghc9.8-Cabal-syntax-profghc9.8-array 0.5.8.0-16.fc43
Haskell array library
https://hackage.haskell.org/package/array
sudo dnf install ghc9.8-arrayghc9.8-array-devel 0.5.8.0-16.fc43
Haskell array library development files
sudo dnf install ghc9.8-array-develghc9.8-array-doc 0.5.8.0-16.fc43
Haskell array library documentation
sudo dnf install ghc9.8-array-docghc9.8-array-prof 0.5.8.0-16.fc43
Haskell array profiling library
sudo dnf install ghc9.8-array-profghc9.8-base 4.19.2.0-16.fc43
Haskell base library
https://hackage.haskell.org/package/base
sudo dnf install ghc9.8-baseghc9.8-base-devel 4.19.2.0-16.fc43
Haskell base library development files
sudo dnf install ghc9.8-base-develghc9.8-base-doc 4.19.2.0-16.fc43
Haskell base library documentation
sudo dnf install ghc9.8-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.