Difference between revisions of "Minimal installation from SVN"

From Apertium
Jump to navigation Jump to search
Line 19: Line 19:
 
</pre>
 
</pre>
   
Then, in each of the downloaded directories, do:
+
Then, in the apertium and lttoolbox directories, do:
 
<pre>
 
<pre>
 
$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
 
$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
 
$ make
 
$ make
 
$ make install
 
$ make install
  +
$ ldconfig
 
</pre>
 
</pre>
   
(If you didn't specify a prefix, use <code>sudo make install</code>.)
+
(If you didn't specify a prefix, use <code>sudo<code> before the last two commands.)
  +
  +
Then, in the directory apertium-eo-en, do:
  +
<pre>
  +
$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
  +
$ make
  +
$ make install
  +
</pre>
  +
  +
(Use <code>sudo</code> before the last command if you didn't specify a prefix.)
   
 
==Language pairs that use CG==
 
==Language pairs that use CG==

Revision as of 13:47, 3 June 2010

If you have limited bandwidth or disk space, you might consider to download and install just 3 things:

  • lttoolbox
  • apertium
  • the language pair(s) your are interested in

Here are the commands if you would like the Esperanto-English pair:

svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-eo-en

To see the available language pairs, go to https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/.

Typically, Apertium is installed under the directory /usr/local. However, if you want it installed somewhere else or don't want to install it as root, do:

$ PREFIX=/path/to/where/I/want/Apertium

Then, in the apertium and lttoolbox directories, do:

$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
$ make
$ make install
$ ldconfig

(If you didn't specify a prefix, use sudo before the last two commands.)

Then, in the directory apertium-eo-en, do:

$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
$ make
$ make install

(Use sudo before the last command if you didn't specify a prefix.)

Language pairs that use CG

For Breton → French, and other pairs which use CG, you need:

svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium
svn co http://beta.visl.sdu.dk/svn/visl/tools/vislcg3/trunk
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-br-fr

Install vislcg3 like Apertium. Note that you have to have ICU installed beforehand.