Version 6.4 (released 11 March 2005)
Online Docs
Source Distribution
- ghc-6.4-src.tar.bz2 (6.6 MB).
The source distribution needs an installed GHC 5.X or 6.X to build. If there isn't a binary distribution for your platform (any version), then you'll need to consult the section on Porting GHC in the Building Guide.
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 (usually /usr or /usr/local), then you'll need to use a .tar.bz2 binary bundle.
Available binary distributions (more will appear as they are built):
- Linux (x86)
- Linux (x86_64)
- Linux (PowerPC)
- Linux (PowerPC 64)
- Windows 95/98/ME/2000/XP (x86)
- FreeBSD (x86)
- OpenBSD (x86)
- MacOS X (PowerPC)
- AIX (PowerPC)
Linux (x86)
- Fedora. RPMs available from the Fedora Haskell Project.
-
RedHat Linux/x86 9.0 RPMs. These may work on any system with glibc 2.3, SuSE 9.1 and SuSE 9.2 have been tested.
- base RPM (18 MB)
- profiling libraries RPM (14 MB)
- src RPM (6.6 MB)
-
ArchLinux. There are distributions for ArchLinux here.
-
Generic Linux with glibc 2.3 (e.g. RedHat 9). This is a complete build, including interactive system, profiling libraries and documentation.
- .tar.bz2 (22 MB)
NOTE: You need the libreadline.so.4 and libncurses.so.5 libraries to use the distributions above. 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.
Linux (x86_64)
- Fedora. RPMs available from the Fedora Haskell Project.
Linux (PowerPC)
A small patch is required to build GHC 6.4 on PowerPC/PowerPC64.
PowerPC/Linux support is by Ryan Lortie.
Linux (PowerPC 64)
This build is unregisterised, has no GHCi support, and no NCG.
A small patch is required to build GHC 6.4 on PowerPC/PowerPC64.
PowerPC/Linux support is by Ryan Lortie.
Windows (x86)
- ghc-6-4-bld2.msi (~47 MB) [Updated: 22 March 2005]
This installer relies on the Windows Installer runtime to operate. If, after having downloaded the above file, double-clicking on the MSI file doesn't start up the installer, the likely cause is that you don't have the Windows Installer runtime installed on your machine. You can download it from Microsoft:
Install the appropriate version, then double-click again on the MSI file.
FreeBSD (x86)
GHC is in the FreeBSD ports tree as lang/ghc.
To install a binary package, try
pkg_add -r ghc
provided the package exists on whatever mirror site your system
is set up to use.
To install from source instead, make sure your copy of /usr/ports is up to date, and say cd /usr/ports/lang/ghc && make install.
OpenBSD x86
There is a binary distribution with profiling libs, no docs:
OpenBSD support is thanks to Don Stewart
.MacOS X 10.3 (Panther)
This package includes GHCi, profiling, dynamic linking support (experimental), documentation, and double-clickable icons.
MacOS X packages were prepared by Wolfgang Thaller.
MacOS X 10.2 & 10.3 (using darwinports)
GHC can be installed on MacOS X using the darwinports system. See this message for details.AIX 5.1L (PowerPC)
This is an unregisterised build, with no GHCi support.
PowerPC/AIX support is by John Goerzen and Autrijus Tang.