mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-13 14:59:32 -06:00
125 lines
3.7 KiB
HTML
125 lines
3.7 KiB
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><IMG src="../doc/Logos/gf0.png">Grammatical Framework Download and Installation</H1>
|
|
<FONT SIZE="4">
|
|
</FONT></CENTER>
|
|
|
|
<P>
|
|
<B>GF 3.2</B> was released on 23 December 2010.
|
|
</P>
|
|
<P>
|
|
What's new? See the <A HREF="release-3.2.html">Release notes</A>.
|
|
</P>
|
|
<H2>Binary packages for the latest release</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.2-bin-i386-linux.tar.gz">gf-3.2-bin-i386-linux.tar.gz</A></TD>
|
|
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.2-bin-i386-linux.tar.gz</CODE></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD>Linux (64-bit)</TD>
|
|
<TD><A HREF="gf-3.2-bin-x86_64-linux.tar.gz">gf-3.2-bin-x86_64-linux.tar.gz</A></TD>
|
|
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.2-bin-x86_64-linux.tar.gz</CODE></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD>MacOS X</TD>
|
|
<TD><A HREF="gf-3.2-bin-intel-mac.tar.gz">gf-3.2-bin-intel-mac.tar.gz</A></TD>
|
|
<TD><CODE>sudo tar -C /usr/local -zxf gf-3.2-bin-intel-mac.tar.gz</CODE></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD>Windows</TD>
|
|
<TD><A HREF="gf-3.2-bin-i386-windows.zip">gf-3.2-bin-i386-windows.zip</A></TD>
|
|
<TD><CODE>unzip gf-3.2-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 and Linux 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.2/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>
|
|
GF is on <A HREF="http://hackage.haskell.org/package/gf">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>.
|
|
<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.2.tar.gz"><CODE>gf-3.2.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>Older releases</H2>
|
|
<UL>
|
|
<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>
|
|
|
|
<H2>Latest developer code</H2>
|
|
<PRE>
|
|
darcs get --lazy http://www.grammaticalframework.org/
|
|
</PRE>
|
|
<P></P>
|
|
<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>
|