This is the previous stable release. If you didn't find a binary
package of 5.04.1 for your system above, there may be a package of
5.04 available below.
The source distribution needs an installed GHC 4.08.X or 5.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.
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 the
.tar.bz2 binary bundle.
Available downloads are:
RPMs for RedHat Linux/x86 7.3 (these may also work with RedHat
8.0; for RedHat 7.2 RPMs see below) from
RPMs for RedHat Linux/x86 7.2 from
RPMs for SuSE Linux/x86 8.0 from
Debian GNU/Linux users: you should be able to say
install ghc5 to install GHC from your nearest mirror.
Packages can also be found in Debian's testing
NOTE: the packages may not have appeared yet. For a temporary way
to get hold of them, see this message.
Binary tar for Linux/x86 with glibc 2.2 (a complete build,
including interactive system, profiling libraries and
(15.9 Mb). This build was done on a RedHat 7.2 box.
NOTE: you need the following libraries to use this
distribution: libreadline.so.4, libncurses.so.5. These come as
standard on RedHat 7.2, at least.
Binary tar for SPARC Solaris 2.7 (complete build, with profiling
libraries and docs): .tar.bz2
On Solaris, you'll need libcurses.so.1, which resolves to
/usr/lib/libcurses.so.1 on our build machine. You should ensure
you have this before you start, since without it GHC won't work at
NOTE: GCC 3.1 does not work with GHC on Sparc/Solaris at this
time. Please ensure that an earlier version (preferrably 2.95.3)
is installed and is called 'gcc' on your path.
Windows Installer for Microsoft Windows 95, 98, ME, NT, 2000 and
XP, prepared by Sigbjorn
Finne (complete build, as above):
ghc-5-04-1.msi (~32 Mb).
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
Install the appropriate version, then double-click
again on the MSI file.
OpenBSD/x86 3.1 packages, prepared by Don Stewart:
message describes how to build GHC from source using the port
MacOS X package, prepared by Wolfgang Thaller.
It's a double-clickable disk image containing an Apple
Installer Package (.pkg). It includes profiling & GHCi,
but no documentation (use the online docs for now). GHCi is now
statically linked with Readline, but the readline library itself
is not included, so you will have to install that seperately if
you link anything with -package util.