Installing GHC (Programming Languages)
The interpreters from the course can be built using any release of GHC from 6.10.x on. Several Linux distributions include GHC as a package, so it may be that all you need to do is install it via the package manager. If you're running Windows or Mac OS/X, then you can get the latest stable release from http://www.haskell.org/ghc/download.
- Visit http://haskell.org/ghc/download, and click on the link under 'Current Stable Release'.
- Click on 'Binaries', then scroll down and click on 'Windows 2000/XP/Vista'.
- Click to download a file with a name like 'ghc-7.6.1-i386-windows.exe'. Alternatively, skip steps 1 and 2 and just click on the link here, at the risk of not getting exactly the latest version of GHC.
- After a moment, a dialog box like this appears: choose 'Run'.
(These screenshots show version 6.8.3, but version 7.0.x looks similar.)
- The file will be downloaded, then this dialog box appears: choose 'Run' again.
- The GHC installer will start, and show the following dialog box. Click on 'Next' several times to accept the default settings, then on 'Install' to carry out the installation.
- It takes some time to unpack all the files that make up GHC. When the installation is done, click on 'Finish' to close the installer. By default, the Readme file for the release is now displayed. It contains nothing important, and you can close it.
Under Debian or Ubuntu Linux
- Type 'sudo apt-get install ghc' at the command prompt.