Version 5.04.3 (released 11 March 2003)
The 5 series features some major changes over the 4 series: in short, an interactive development environment, and significantly faster compilation for large programs. 5.04.3 is the latest stable member of this series.
Online Docs
Downloads
Notes:-
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.
Source Distribution
- ghc-5.04.3-src.tar.bz2 (4.5 Mb).
x86/Linux
- RPMs for RedHat Linux/x86 9.0 from Andy Moran. NOTE: these RPMs were built from the stock 5.04.3 sources with this patch applied..
- RPMs for RedHat Linux/x86 8.0 (these may also work with RedHat 7.3) from Manuel Chakravarty:
-
Binary tar for Linux/x86 with glibc 2.2 (a complete build,
including interactive system, profiling libraries and
documentation): .tar.bz2
(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.
Windows
- ghc-5-04-3.msi (~36 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 Microsoft:
Install the appropriate version, then double-click again on the MSI file.
x86/FreeBSD
FreeBSD users can install a binary package of ghc by saying
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.
x86/OpenBSD
- ghc-5.04.3.tgz (binary package, install with pkg_add ghc-5.04.3.tgz).
- ghc-doc-5.04.3.tgz (the documentation package, install with pkg_add ghc-doc-5.04.3).
- ghc-5.04.3-i386-unknown-openbsd.tar.bz2 (.tar.bz2 binary package, use instead of the binary package above if you're a non-root user or need to install somewhere other than /usr/local).
The OpenBSD/x86 packages should work with any post-3.0 installation of OpenBSD (they were built on a 3.3-beta system) and were prepared by Don Stewart.
MacOS X 10.2 (Jaguar)
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 separately if you link anything with -package util.
MacOS X packages were prepared by Wolfgang Thaller.
PowerPC/Linux
This is an unregisterised build, currently without GHCi support.
PowerPC/Linux support is by Sven Moritz Hallberg.