packages feed

gf-3.6: download/index-3.3.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.org">
<LINK REL="stylesheet" TYPE="text/css" HREF="../css/style.css">
<TITLE>Grammatical Framework Download and Installation</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<CENTER>
<H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a>Grammatical Framework Download and Installation</H1>
</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>Linux (32-bit)</TD>
<TD><A HREF="gf-3.3-bin-i386-linux.tar.gz">gf-3.3-bin-i386-linux.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3-bin-i386-linux.tar.gz</CODE></TD>
</TR>
<TR>
<TD>Linux (64-bit)</TD>
<TD><A HREF="gf-3.3-bin-amd64-linux.tar.gz">gf-3.3-bin-amd64-linux.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3-bin-amd64-linux.tar.gz</CODE></TD>
</TR>
<TR>
<TD>MacOS X</TD>
<TD><A HREF="gf-3.3-bin-intel-mac.tar.gz">gf-3.3-bin-intel-mac.tar.gz</A></TD>
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.3-bin-intel-mac.tar.gz</CODE></TD>
</TR>
<TR>
<TD>Ubuntu 11.10 (32-bit)</TD>
<TD><A HREF="gf_3.3-1_i386-oneiric.deb">gf_3.3-1_i386-oneiric.deb</A></TD>
<TD>Double-click on the package icon, or use <CODE>sudo dpkg -i gf_3.3-1_i386-oneiric.deb</CODE></TD>
</TR>
<TR>
<TD>Ubuntu 11.10 (64-bit)</TD>
<TD><A HREF="gf_3.3-1_amd64-oneiric.deb">gf_3.3-1_amd64-oneiric.deb</A></TD>
<TD>Double-click on the package icon, or use <CODE>sudo dpkg -i gf_3.3-1_amd64-oneiric.deb</CODE></TD>
</TR>
<TR>
<TD>Ubuntu 11.04 (32-bit)</TD>
<TD><A HREF="gf_3.3-1_i386-natty.deb">gf_3.3-1_i386-natty.deb</A></TD>
<TD>Double-click on the package icon, or use <CODE>sudo dpkg -i gf_3.3-1_i386-natty.deb</CODE></TD>
</TR>
<TR>
<TD>Ubuntu 11.04 (64-bit)</TD>
<TD><A HREF="gf_3.3-1_amd64-natty.deb">gf_3.3-1_amd64-natty.deb</A></TD>
<TD>Double-click on the package icon, or use <CODE>sudo dpkg -i gf_3.3-1_amd64-natty.deb</CODE></TD>
</TR>
<TR>
<TD>Windows</TD>
<TD><A HREF="gf-3.3-bin-i386-windows.zip">gf-3.3-bin-i386-windows.zip</A></TD>
<TD><CODE>unzip gf-3.3-bin-i386-windows.zip</CODE></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/lib
</PRE>

<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>
(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>
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>
Subsequently:
</P>

<PRE>
    cd GF
    darcs pull -a
    cabal install
</PRE>

<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 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>
<A HREF="http://www.grammaticalframework.org">www.grammaticalframework.org</A>
</P>

<!-- html code generated by txt2tags 2.6 (http://txt2tags.org) -->
<!-- cmdline: txt2tags -thtml ./download/index-3.3.t2t -->
</BODY></HTML>