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.

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.

Linux (x86)

Generic Linux with glibc 2.3 (e.g. RedHat 9). This is a complete build, including interactive system, profiling libraries and documentation. Note: You need the libreadline.so.4 and libncurses.so.5 libraries to use this. Newer Linux distributions come with libreadline.so.5 only (e.g. SuSE 9.2), so we have provided a readline4 compatibility RPM for this case. .tar.bz2 (47 MB)

ghc-6.8.2-i386-unknown-linux.tar.bz2 This is a binary distribution, prepared by Christian Maeder. It uses libreadline.so.5 instead of libreadline.so.4.

Linux (x86_64)

Generic .tar.bz2 binary bundle. This was built on Fedora FC5, your mileage may vary. It is a complete build, including interactive system, profiling libraries and documentation. .tar.bz2 (47 MB)

binary bundle. This was built on Fedora FC5, your mileage may vary. It is a complete build, including interactive system, profiling libraries and documentation.

This is a binary distribution for Solaris 10, prepared by Christian Maeder on a "sun4u sparc SUNW,Sun-Fire-280R" using

SRC_HC_OPTS += -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc

You will also need (amongst others) libreadline.so.5, libncurses.so.5, libm.so.2 and libgmp.so.3, which may mean setting LD_LIBRARY_PATH.

There may be problems with gcc-3.4.x; see #951 for details.

This is a binary distribution for Solaris 10, prepared by Christian Maeder. You will also need (amongst others) libreadline.so.5, libncurses.so.5, libm.so.2 and libgmp.so.3, which may mean setting LD_LIBRARY_PATH.

Windows (x86) (standalone)

ghc-6.8.2-i386-windows.exe (~33 MB); a Windows Installer for GHC 6.8.2.

This is a complete build, and should work for Microsoft Windows 2000, XP and Vista. It also includes support for compiling C++ files.

If just want the files, you have the choice of:

a .zip bundle: ghc-6-8-2.zip(~72 MB)

a tarball: ghc-6.8.2-i386-unknown-mingw32.tar.bz2 (~54 MB)

a 7-zip bundle ghc-6-8-2.7z (~39 MB)

FreeBSD (x86_64)

Wilhelm B. Kloke has provided a binary distribution tarball for FreeBSD x86_64.

MacOS X (PowerPC)

This is a binary distribution for Mac OS X 10.4 (Tiger), prepared by Christian Maeder. You will also need a GMP framework and a readline framework. For instructions see here.

MacOS X (Intel)

This is a binary distribution for Mac OS X 10.5 (Leopard), prepared by Manuel Chakravarty. You will also need Xcode 3.0 (as available from the Leopard upgrade/install DVD or developer.apple.com) and readline 5.2 (preferably installed via macports in /opt/local). If you have GMP.framework installed (a leftover from 10.4), remove it first.

This is a binary distribution for Mac OS X 10.4 (Tiger), prepared by Christian Maeder. You will also need a GMP framework and a readline framework. For instructions see here.

AIX 5.1L (PowerPC)

This is an unregisterised build, with no GHCi support. It was provided by Audrey Tang.