Version 9.2.3 (released 27th May 2022)
Take Notice
The packages on this page include only the GHC compiler. For most users,
we recommend installing a
proper Haskell distribution
instead of GHC alone. A distribution includes a recent GHC release as well
as other important tools (such as cabal-install
, for
installing libraries), and potentially a broader set of libraries known to
work together.
Bundled packages and cabal-install
GHC 9.2 only works
with cabal-install
version 3.6 or later. Please upgrade if you have an older version of
cabal-install
.
Optional LLVM dependency
GHC has an optional code generator targeting the LLVM compiler framework which can produce faster code for some programs. If you would like to use the LLVM backend, you'll need to install LLVM 9, 10, 11, or 12 from an upstream binary distribution or via your distribution's package manager.
Contents
Distribution packages
GHC is packaged for a number of operating systems and distributions. While they may lag behind the latest GHC release, advantages such as dependency checking and ease of uninstallation mean we recommend using them anyway, unless you have a particular need for new features or bug fixes.
Binary Packages
The operating system-specific packages (e.g. RPM or .deb packages on Linux) are generally a better bet than the vanilla .tar.xz binary bundles, because they will check for dependencies and allow the package to be uninstalled at a later date.
However, if you don't have permission to install binaries on your system, or you want to install somewhere other than the default place (/usr or /usr/local on a Unix system), then you'll need to use a .tar.xz binary bundle.
SHA-256 hashes for all of these binary distributions are available here.
All of these tarballs are have associated GPG signatures. Unless otherwise
noted the signature should be from Zubin Duggal
<zubin@well-typed.com>
(key
ID 588764FBE22D19C4).
Supported platforms:
Supported platforms
Linux (x86-64)
Alpine (Static, Haskell-Native bignum implementation)
Alpine Linux 3.12 for x86-64, statically linked. This is a complete
build, including interactive system, profiling libraries and
documentation. Unlike our other binary distributions, this links
against the Haskell-native big-integer backend and therefore does
not require libgmp
.
- ghc-9.2.3-x86_64-alpine3.12-linux-native.tar.xz (204.0 MB, sig)
Alpine (Static, GMP bignum implementation)
Alpine Linux 3.12 for x86-64, statically linked. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.2.3-x86_64-alpine3.12-linux-gmp.tar.xz (206.2 MB, sig)
Debian 10
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Debian 10 system and requires GMP 6.0.
- ghc-9.2.3-x86_64-deb10-linux.tar.xz (233.3 MB, sig)
Debian 9
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Debian 9 "Stretch" system and requires GMP 6.0.
- ghc-9.2.3-x86_64-deb9-linux.tar.xz (233.7 MB, sig)
Debian 10 (with DWARF support)
Generic x86-64 Linux with stack unwinding support and debug symbols
for core libraries. This is a complete build, including interactive
system, profiling libraries and documentation. It was made on a
Debian 10 "Buster" system and requires
libgmp.so.10
(typically GMP 6.x) as well
as libdw
.
- ghc-9.2.3-x86_64-deb10-linux-dwarf.tar.xz (431.9 MB, sig)
Fedora 27
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Fedora 27 system and requires GMP 6.1.
- ghc-9.2.3-x86_64-fedora27-linux.tar.xz (236.4 MB, sig)
Fedora 27 (with DWARF support)
Generic x86-64 Linux with stack unwinding support and debug symbols for core libraries. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Fedora 27 system and requires GMP 6.1.
- ghc-9.2.3-x86_64-fedora27-linux-dwarf.tar.xz (437.9 MB, sig)
ubuntu 20.04
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.2.3-x86_64-ubuntu20.04-linux.tar.xz (234.1 MB, sig)
CentOS 7
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.2.3-x86_64-centos7-linux.tar.xz (225.2 MB, sig)
Linux (x86)
Debian 9
Generic i386 Linux. This is a complete build, including
interactive system, profiling libraries and documentation. It was
made on a Debian 9 "Stretch" system and requires
libgmp.so.10
(typically GMP 6.x).
- ghc-9.2.3-i386-deb9-linux.tar.xz (233.8 MB, sig)
Linux (AArch64)
Debian 10
Generic AArch64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Debian 10 system and requires GMP 6.1.
- ghc-9.2.3-aarch64-deb10-linux.tar.xz (264.6 MB, sig)
Windows 64-bit (x86_64) (GMP)
- ghc-9.2.3-x86_64-unknown-mingw32.tar.xz (481.2 MB, sig)
This is compatible with Microsoft Windows Vista and later. It also includes support for compiling C++ files.
Windows 64-bit (x86_64) (integer simple)
This is compatible with Microsoft Windows Vista and later. It also includes support for compiling C++ files.
macOS (x86-64)
- ghc-9.2.3-x86_64-apple-darwin.tar.xz (170.0 MB, sig)
- ghc-9.2.3-x86_64-apple-darwin.tar.bz2 (266.8 MB, sig)
This is a distribution for Mac OS X, 10.7 or later. The package requires the command line tools package of Xcode 4 or XCode 5 to be installed. You can find Xcode at http://developer.apple.com/.