# Grammatical Framework Download and Install

GF 2.1

November 8, 2004

To run GF, you need either of

- a precompiled GF binary for your platform
- a source package that you compile yourself

In addition, you need some grammars. You will certainly want to write grammars yourself, but you can first take a look at

- GF grammar libraries

This web page gives links to all of these things.

### Linux

`GF-2.1-1.i586.rpm`: RPM package for RedHat and Mandrake
To install, use `rpm -i`

`GF-2.1-i686-pc-linux-gnu.tgz`: generic Intel binaries
To install, untar with `tar xvfz`, then read `src/INSTALL`

### Macintosh

`GF-2.1-powerpc-apple-macosx.tgz`: package with binaries
To install, untar with `tar xvfz`, then read `src/INSTALL`.

If you don't have GHC installed, you also need to download HaskellSupport.framework.tgz and unpack it in either `/Library/Frameworks` or `~/Library/Frameworks`. For more information, see Haskell Wiki.

### Microsoft Windows

`gf.exe`: package with binaries and example grammars, self-extracting installation package.
To install, execute `gf.exe`.

### Solaris

`GF-2.1-solaris.tgz`: Solaris binaries
To install, untar with `gtar xvfz`, then read `src/INSTALL`.

### Source package

`GF-2.1.tgz`: source and documentation package
Unpack with `tar xvfz GF-2.1.tgz`, and follow instructions in `GF-2.1/src/INSTALL`

You can compile GF from source on modern variants of Linux, Windows, Mac OS X, and Solaris.

You need GHC (Glasgow Haskell Compiler), version 6 or later.

For the editor GUI, you also need Java, version 1.4

On Windows, you moreover need the Cygwin environment to compile with GHC.

### Running GF

Without the GUI:

      gf

With the GUI:

      jgf

On Windows, using the `jgf` command requires the Cygwin environment. Alternatively, if you use the binary installation (recommended) you can run GF (both with and without GUI) from the Start menu.

To do something with GF, you also need some grammars. You can start by looking at the examples included in the `Grammar Library`.

### Grammar Library

`gf-lib.tgz`

### Bonus

Install the Flite Speech Synthesizer to get the Speak Aloud command (`sa`).

Back to the GF Home Page.

Last updated November 8, 2004.