packages feed

gf-3.3: download/index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<LINK REL="stylesheet" TYPE="text/css" HREF="../css/style.css">
<TITLE>Grammatical Framework Download and Installation</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a>Grammatical Framework Download and Installation</H1>
<FONT SIZE="4">
</FONT></CENTER>

<P>
<B>GF 3.3</B> was released on 27 October 2011.
</P>
<P>
What's new? See the <A HREF="release-3.3.html">Release notes</A>.
</P>
<H2>Binary packages</H2>
<TABLE CELLPADDING="4">
<TR>
<TH>Platform</TH>
<TH>Download</TH>
<TH>How to install</TH>
</TR>
<TR>
<TD>...</TD>
<TD>...</TD>
<TD>...</TD>
</TR>
</TABLE>

<P>
More packages might be added later.
</P>
<H3>Notes</H3>
<P>
The Windows package is installed by just unpacking it anywhere. 
It finds the libraries relative to the <CODE>.exe</CODE> file.
</P>
<P>
The <CODE>.deb</CODE> packages work on Ubuntu 10.04 and 10.10.
</P>
<P>
The <CODE>.pkg</CODE> package works on MacOS X 10.6 (Snow Leopard). The MacOS tar
package works on 10.5 (Leopard) and 10.6 (Snow Leopard).
</P>
<P>
The MacOS and Linux tar packages are designed to be installed in <CODE>/usr/local</CODE>.
You can install them in other locations, but then you need to set the
<CODE>GF_LIB_PATH</CODE> environment variable:
</P>
<PRE>
    export GF_LIB_PATH=/usr/local/share/gf-3.3/lib
</PRE>
<P></P>
<P>
where <CODE>/usr/local</CODE> should be replaced with the path to the location where you
unpacked the package.
</P>
<H2>Installing the latest release from source</H2>
<P>
<A HREF="http://hackage.haskell.org/package/gf">GF is on Hackage</A>, so the prodedure is
fairly simple:
</P>
<OL>
<LI>Install the
  <A HREF="http://hackage.haskell.org/platform">Haskell Platform 2010.2.0.0 (July 2010)</A>
  or newer.
<LI><CODE>cabal update</CODE>
<LI>On Linux: install some C libraries from your Linux distribution (see below)
<LI><CODE>cabal install gf</CODE>
</OL>

<P>
You can also download the full source package from here:
<A HREF="gf-3.3.tar.gz"><CODE>gf-3.3.tar.gz</CODE></A>.
</P>
<H3>Notes</H3>
<P>
The above steps installs GF for a single user and does not require root
privileges. The executables are put in <CODE>$HOME/.cabal/bin</CODE>, so it is a good
idea to put a line in your <CODE>.bash_profile</CODE> to add that directory to you path:
</P>
<PRE>
    PATH=$HOME/.cabal/bin:$PATH
</PRE>
<P></P>
<P>
GF uses <CODE>haskeline</CODE>, which depends some non-Haskell libraries that
won't be installed automatically by cabal, so you need to install
them manually. Here is one way to do this:
</P>
<UL>
<LI>On Ubuntu: <CODE>sudo apt-get install libghc6-terminfo-dev</CODE>
<LI>On Fedora: <CODE>sudo yum install ghc-terminfo-devel</CODE>
</UL>

<H2>Installing from the latest developer code</H2>
<P>
The first time:
</P>
<PRE>
    darcs get --lazy http://www.grammaticalframework.org/ GF
    cd GF
    cabal install
</PRE>
<P></P>
<P>
Subsequently:
</P>
<PRE>
    cd GF
    darcs pull -a
    cabal install
</PRE>
<P></P>
<P>
The above notes for installing from source apply also in this case.
</P>
<H2>Older releases</H2>
<UL>
<LI><A HREF="index-3.2.9.html">GF 3.2.9</A> source-only snapshot (September 2011).
<LI><A HREF="index-3.2.html">GF 3.2</A> (December 2011).
<LI><A HREF="index-3.1.6.html">GF 3.1.6</A> (April 2010).
<LI><A HREF="old-index.html">GF 3.1</A> (December 2009).
</UL>

<HR NOSHADE SIZE=1>
<P></P>
<P>
<A HREF="http://www.grammaticalframework.org">www.grammaticalframework.org</A>
</P>

<!-- html code generated by txt2tags 2.5 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml ./download/index.t2t -->
</BODY></HTML>