Version 7.10.2 (released 29th July 2015)

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 7.10 only works with cabal-install version 1.22 or later. Please upgrade if you have an older version of cabal-install.

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.bz2 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.bz2 binary bundle.

SHA-256 hashes for all of these binary distributions are available here.

Supported platforms:

Supported platforms

Linux (x86)

Note: If you have too old a version of libc, then you will get an error like "floating point exception" from the binaries in these bindists. You will need to either upgrade your libc (we're not sure what the minimum version required is), or use a binary package built for your distribution instead.

Linux (x86_64)

Note: If you have too old a version of libc, then you will get an error like "floating point exception" from the binaries in these bindists. You will need to either upgrade your libc (we're not sure what the minimum version required is), or use a binary package built for your distribution instead.

Linux (ARMv7)

Note: These builds were prepared on Debian Jessie. Note that ARM support is still a bit experimental. This build is intended for use with LLVM 3.5 (available in Debian Jessie). Due to bugs in BFD ld it is necessary to use the gold linker.

Windows 10 (x86)

This is compatible with Microsoft Windows 2000 and later, including the Windows 10 Creator's Update. It also includes support for compiling C++ files.

Windows (x86)

This is compatible with Microsoft Windows 2000 and later, excluding the Windows 10 Creator's Update. It also includes support for compiling C++ files.

Windows 10 (x86_64)

This is compatible with Microsoft Windows 2000 and later, including the Windows 10 Creator's Update. It also includes support for compiling C++ files.

Windows (x86_64)

This is compatible with Microsoft Windows 2000 and later, excluding the Windows 10 Creator's Update. It also includes support for compiling C++ files.

Mac OS X (x86_64)

This is a bindist 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/.

FreeBSD (x86)

Páli Gábor János has provided binary distribution tarballs for FreeBSD. These are complete builds, including interactive system, profiling libraries and documentation.

Note: These are not the same as the lang/ghc port. See the README for more information.

FreeBSD (x86_64)

Páli Gábor János has provided binary distribution tarballs for FreeBSD. These are complete builds, including interactive system, profiling libraries and documentation.

Note: These are not the same as the lang/ghc port. See the README for more information.

Solaris 11 (x86)

Karel Gardas has provided x86 Solaris 11 binaries.

Note: Solaris 2.11/i386 binary distribution supports shared libraries and uses system provided GMP and FFI libraries. If you do not have them installed you need to do this by using "pkg install library/gmp" and "pkg install library/libffi" commands.

Solaris 11 (x86_64)

Karel Gardas has provided x86 Solaris 11 binaries.

Note: Solaris 2.11/x86_64 binary distribution supports shared libraries and uses system provided GMP and FFI libraries. If you do not have them installed you need to do this by using "pkg install library/gmp" and "pkg install library/libffi" commands.

Solaris 11 (SPARC)

Karel Gardas has provided SPARC Solaris 11 binaries.

Note: Solaris 11 binary distribution supports shared libraries and uses system provided GMP library. If you do not have it installed you need to do this by using the pkg install library/gmp command.

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.

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).

Building on Windows requires a set of additional tools. Extract this tarball on top of the regular source distribution,

The source distribution needs an installed GHC (version 7.6 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.