packages feed

gf-3.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.3</B> was released on 3 March 2012.
</P>
<P>
What's new? See the <A HREF="release-3.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>Linux (32-bit)</TD>
<TD><A HREF="gf-3.3.3-bin-i386-linux.tar.gz">gf-3.3.3-bin-i386-linux.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3.3-bin-i386-linux.tar.gz</CODE></TD>
</TR>
<TR>
<TD>Linux (64-bit)</TD>
<TD><A HREF="gf-3.3.3-bin-amd64-linux.tar.gz">gf-3.3.3-bin-amd64-linux.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3.3-bin-amd64-linux.tar.gz</CODE></TD>
</TR>
<TR>
<TD>MacOS X</TD>
<TD><A HREF="gf-3.3.3-bin-intel-mac.tar.gz">gf-3.3.3-bin-intel-mac.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3.3-bin-intel-mac.tar.gz</CODE></TD>
</TR>
<TR>
<TD>Windows</TD>
<TD><A HREF="gf-3.3.3-bin-windows.zip">gf-3.3.3-bin-windows.zip</A></TD>
<TD><CODE>unzip gf-3.3.3-bin-windows.zip</CODE></TD>
</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 MacOS tar package works on 10.5 (Leopard), 10.6 (Snow Leopard) and probably
also 10.7 (Lion).
</P>
<P>
The MacOS and Linux <CODE>.tar.gz</CODE> 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.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</A>
  (versions 2010.2.0.0 - 2011.4.0.0 should work) (see note 2 below)
<LI><CODE>cabal update</CODE>
<LI>On Linux: install some C libraries from your Linux distribution
  (see note 1 below)
<LI><CODE>cabal install gf</CODE>
</OL>

<P>
You can also download the full source package from here:
<A HREF="gf-3.3.3.tar.gz"><CODE>gf-3.3.3.tar.gz</CODE></A>.
</P>
<H3>Notes</H3>
<P>
The above steps installs GF for a single user.
The executables are put in <CODE>$HOME/.cabal/bin</CODE>
(or, with recent versions of the Haskell platform on Mac OS X,
in <CODE>$HOME/Library/Haskell/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>
or
</P>
<PRE>
    PATH=$HOME/Library/Haskell/bin:$PATH
</PRE>
<P></P>
<P>
<B>Note 1</B>.
GF uses <A HREF="http://hackage.haskell.org/package/haskeline"><CODE>haskeline</CODE></A>, 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>

<P>
<B>Note 2</B>.
GF does <B>not</B> compile with the most recent versions of GHC (&gt;=7.2).
GF does <B>not</B> compile with the most recent versions of Alex (&gt;=3.0).
</P>
<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.3.html">GF 3.3</A> (October 2011).
<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 2010).
<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>