Version 7.8.1 (released 9 April 2014)
Stop!
For most users, we recommend installing the Haskell Platform instead of GHC. The current Haskell Platform release includes a recent GHC release as well as some other tools (such as cabal), and a larger set of libraries that are known to work together.
Bundled packages and cabal-install
GHC 7.8.1 only works with cabal-install version 1.18 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 OS-specific packages (eg. RPMs 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.
Supported platforms:
Supported platforms
Linux (x86)
-
Generic i386 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a CentOS 6.5 system and requires
libgmp.so.3
(typically GMP 4.x). -
Generic i386 Linux. This is a complete build, including interactive system, profiling libraries and documentation. It was made on a Debian 7 "wheezey" system and requires
libgmp.so.10
(typically GMP 5.x).
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)
-
Generic amd64 Linux. This is a complete build, including
interactive system, profiling libraries and documentation. It was
made on a CentOS 6.5 system and requires
libgmp.so.3
(typically GMP 4.x). -
Generic amd64 Linux. This is a complete build, including
interactive system, profiling libraries and documentation. It was
made on a Debian 7 "wheezey" system and requires
libgmp.so.10
(typically GMP 5.x).
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.
Windows 10 (x86)
Windows (x86)
This is a complete build, and should work for Microsoft Windows 2000 or later. It also includes support for compiling C++ files.
Windows 64bit (x86_64)
This is a complete build. It also includes support for compiling C++ files.
MacOS X (x86_64)
- ghc-7.8.1-x86_64-apple-darwin-mavericks.tar.bz2 (128 MB)
- ghc-7.8.1-x86_64-apple-darwin-mavericks.tar.xz (67 MB)
This is a bindist for Mac OS X 10.9 (Mavericks). The package was built with and requires Xcode 5.1 (in particular, the "Unix Development Support") to be already installed. You can find Xcode at http://developer.apple.com/.
FreeBSD (x86)
Gabor PALI 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)
Gabor PALI 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.
Source Distribution
- ghc-7.8.1-src.tar.bz2 (10 MB) or ghc-7.8.1-src.tar.xz (8.7 MB). This provides the compiler and a minimal set of libraries. For more information on building, see the building guide.
- ghc-7.8.1-testsuite.tar.bz2 (1.5 MB) or ghc-7.8.1-testsuite.tar.xz (1.3 MB). If you unpack this tarball on top of the above then you will be able to run the testsuite.
- ghc-7.8.1-windows-extra-src.tar.bz2 (96 MB) or ghc-7.8.1-windows-extra-src.tar.xz (96 MB). This provides extra build tools which are a requirement for building on Windows. Simply unpack this tarball on top of the regular source distribution.
The source distribution needs an installed GHC (version 7.4 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.