Version 9.10.1 (released 10th May 2024)
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.10 only works with
cabal-install
version 3.10.2.0 or later. Please upgrade if you have an older version of
cabal-install
. This is particularly important for Windows
users due to recent changes to linking on Windows.
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 11, 12, 13, 14, or 15 from an upstream binary distribution or via your distribution's package manager.
Links
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 Benjamin Gamari
<ben@well-typed.com>
(key
ID 97DB64AD).
Supported platforms:
Supported platforms
Linux (x86-64)
Alpine 3.18 (GMP bignum implementation)
Alpine Linux 3.18 for x86-64, dynamically linked. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-alpine3_18-linux.tar.xz (207.1 MB, sig)
- ghc-9.10.1-x86_64-alpine3_18-linux.tar.gz (385.4 MB, sig)
Alpine 3.12 (GMP bignum implementation)
Alpine Linux 3.12 for x86-64, dynamically linked. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-alpine3_12-linux.tar.xz (211.3 MB, sig)
- ghc-9.10.1-x86_64-alpine3_12-linux.tar.gz (389.7 MB, sig)
Alpine 3.12 (Static, Haskell bignum implementation)
Alpine Linux 3.12 for x86-64, statically linked. This is a complete build, including interactive system, profiling libraries and documentation.
Debian 9
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Debian 9 "Stretch" system and requires GMP 6.0.
- ghc-9.10.1-x86_64-deb9-linux.tar.gz (392.8 MB, sig)
- ghc-9.10.1-x86_64-deb9-linux.tar.xz (194.7 MB, sig)
Debian 10
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Debian 10 system and requires GMP 6.0.
- ghc-9.10.1-x86_64-deb10-linux.tar.xz (213.0 MB, sig)
- ghc-9.10.1-x86_64-deb10-linux.tar.gz (437.0 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 built on a
Debian 10 "Buster" system and requires
libgmp.so.10
(typically GMP 6.x) as well
as libdw
.
- ghc-9.10.1-x86_64-deb10-linux-dwarf.tar.gz (824.8 MB, sig)
- ghc-9.10.1-x86_64-deb10-linux-dwarf.tar.xz (421.2 MB, sig)
Debian 11
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-deb11-linux.tar.gz (429.5 MB, sig)
- ghc-9.10.1-x86_64-deb11-linux.tar.xz (210.2 MB, sig)
Debian 12
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-deb12-linux.tar.gz (429.8 MB, sig)
- ghc-9.10.1-x86_64-deb12-linux.tar.xz (212.1 MB, sig)
Centos 7
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-centos7-linux.tar.xz (180.6 MB, sig)
- ghc-9.10.1-x86_64-centos7-linux.tar.gz (370.0 MB, sig)
Rocky 8
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-rocky8-linux.tar.xz (213.3 MB, sig)
- ghc-9.10.1-x86_64-rocky8-linux.tar.gz (437.2 MB, sig)
Fedora 33
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Fedora 33 system and requires GMP 6.1.
- ghc-9.10.1-x86_64-fedora33-linux.tar.gz (430.3 MB, sig)
- ghc-9.10.1-x86_64-fedora33-linux.tar.xz (211.9 MB, sig)
Fedora 33 (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 built on a Fedora 33 system and requires GMP 6.1.
- ghc-9.10.1-x86_64-fedora33-linux-dwarf.tar.xz (419.1 MB, sig)
- ghc-9.10.1-x86_64-fedora33-linux-dwarf.tar.gz (809.5 MB, sig)
Fedora 38
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Fedora 38 system and requires GMP 6.1.
- ghc-9.10.1-x86_64-fedora38-linux.tar.xz (212.1 MB, sig)
- ghc-9.10.1-x86_64-fedora38-linux.tar.gz (430.3 MB, sig)
CentOS 8
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-rocky8-linux.tar.xz (213.3 MB, sig)
- ghc-9.10.1-x86_64-rocky8-linux.tar.gz (437.2 MB, sig)
Ubuntu 18.04
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-ubuntu18_04-linux.tar.gz (436.5 MB, sig)
- ghc-9.10.1-x86_64-ubuntu18_04-linux.tar.xz (213.4 MB, sig)
Ubuntu 20.04
Generic x86-64 Linux. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-x86_64-ubuntu20_04-linux.tar.gz (437.4 MB, sig)
- ghc-9.10.1-x86_64-ubuntu20_04-linux.tar.xz (213.4 MB, sig)
Linux (x86)
Debian 10
Generic i386 Linux. This is a complete build, including
interactive system, profiling libraries and documentation. It was
built on a Debian 9 "Stretch" system and requires
libgmp.so.10
(typically GMP 6.x).
- ghc-9.10.1-i386-deb10-linux.tar.xz (192.0 MB, sig)
- ghc-9.10.1-i386-deb10-linux.tar.gz (387.6 MB, sig)
Linux (AArch64)
Debian 10
Generic AArch64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Debian 10 system and requires GMP 6.1.
- ghc-9.10.1-aarch64-deb10-linux.tar.gz (441.1 MB, sig)
- ghc-9.10.1-aarch64-deb10-linux.tar.xz (210.3 MB, sig)
Debian 11
Generic AArch64 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was built on a Debian 11 system.
- ghc-9.10.1-aarch64-deb11-linux.tar.xz (208.0 MB, sig)
- ghc-9.10.1-aarch64-deb11-linux.tar.gz (433.6 MB, sig)
Alpine (GMP bignum implementation)
Alpine Linux 3.18 for AArch64, dynamically linked. This is a complete build, including interactive system, profiling libraries and documentation.
- ghc-9.10.1-aarch64-alpine3_18-linux.tar.gz (430.4 MB, sig)
- ghc-9.10.1-aarch64-alpine3_18-linux.tar.xz (209.9 MB, sig)
Windows 64-bit (x86_64) (GMP bignum implementation)
- ghc-9.10.1-x86_64-unknown-mingw32.tar.gz (1047.1 MB, sig)
- ghc-9.10.1-x86_64-unknown-mingw32.tar.xz (558.4 MB, sig)
This is compatible with Microsoft Windows Vista and later. It also includes support for compiling C++ files.
Windows 64-bit (x86_64) (Haskell-native bignum implementation)
- ghc-9.10.1-x86_64-unknown-mingw32-int_native.tar.gz (1040.3 MB, sig)
- ghc-9.10.1-x86_64-unknown-mingw32-int_native.tar.xz (553.3 MB, sig)
This is compatible with Microsoft Windows Vista and later. It also includes support for compiling C++ files.
macOS (x86-64)
- ghc-9.10.1-x86_64-apple-darwin.tar.gz (384.2 MB, sig)
- ghc-9.10.1-x86_64-apple-darwin.tar.xz (214.6 MB, sig)
- ghc-9.10.1-x86_64-apple-darwin.tar.bz2 (330.6 MB, sig)
This is a distribution for Mac OS X, 10.7 or later. The package requires the Command Line Tools package to be installed. You can find Xcode at http://developer.apple.com/.
macOS (AArch64)
- ghc-9.10.1-aarch64-apple-darwin.tar.bz2 (339.2 MB, sig)
- ghc-9.10.1-aarch64-apple-darwin.tar.gz (393.6 MB, sig)
- ghc-9.10.1-aarch64-apple-darwin.tar.xz (214.9 MB, sig)
This is a distribution for Mac OS X, 11.7 or later. The package requires the Command Line Tools package to be installed. You can find Xcode at http://developer.apple.com/.
Source Distribution
The source tarballs provide everything necessary to build the compiler, interactive system, and a minimal set of libraries. For more information on building, see the building guide.
- ghc-9.10.1-src.tar.xz (31.3 MB, sig)
- ghc-9.10.1-src.tar.gz (37.1 MB, sig)
The testsuite provides a thorough set of tests for validating your build. Unpack this tarball on top of the regular source distribution in order to run the testsuite (see the testing guide for details).
- ghc-9.10.1-testsuite.tar.xz (7.3 MB, sig)
- ghc-9.10.1-testsuite.tar.gz (10.0 MB, sig)
Building on Windows requires a set of additional tools. Extract this tarball on top of the regular source distribution,
- ghc-9.10.1-windows-extra-src.tar.xz (259.0 MB, sig)
- ghc-9.10.1-windows-extra-src.tar.gz (259.0 MB, sig)
Hadrian bootstrap sources
We also provide a set of tarballs which include all of the source packages
necessary to bootstrap GHC's Hadrian build system with nothing but a
Haskell compiler and the included bootstrap script. See the
hadrian-bootstrap-sources/
directory for the supported configurations
The source distribution needs an installed GHC (version 9.0 at least). If your platform isn't currently supported with a binary distribution, then you'll need to consult the section on Porting GHC in the Building Guide.