Difference between revisions of "Minimal installation from SVN"

From Apertium
Jump to navigation Jump to search
 
(73 intermediate revisions by 11 users not shown)
Line 1: Line 1:
  +
[[Installation minimale depuis SVN|En français]]
If you have limited bandwidth or disk space, you might consider to download and install just 3 things:
 
  +
{{Github-migration-check}}
  +
<div style="background-color:pink; text-align:center; line-height:2.5; border: 1px solid crimson;">This page is deprecated. </div>
   
  +
The information which was here is split across other pages.
* lttoolbox
 
* apertium
 
* the language pair(s) your are interested in
 
   
  +
The page contained,
Here are the commands if you would like the Esperanto-English pair:
 
<pre>
 
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
 
</pre>
 
   
  +
* How to compile Apertium core. For this, please see [[Install Apertium core by compiling]]
To see the available language pairs, go to https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/.
 
   
  +
* How to create new, or compile exisitng, language builds. For a new or mixed pair, see [[How to bootstrap a new pair]]. For existing pairs, see [[Install language data by compiling]],
''Note: certain packages have to be installed before installing Apertium, see the system-specific HOWTO's under [[Installation]] for how to install the requirements.''
 
   
  +
* Details about the HFST and CG modules. Please see [[Installation of grammar libraries]]
Typically, Apertium is installed under the directory <code>/usr/local</code>. However, if you want it installed somewhere else or don't want to install it as root, do:
 
<pre>
 
$ PREFIX=/path/to/where/I/want/Apertium
 
</pre>
 
   
  +
Or start from the information root at [[Installation]]?
Then, in the apertium and lttoolbox directories, do:
 
<pre>
 
$ PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig ./autogen.sh --prefix $PREFIX
 
$ make
 
$ make install
 
$ ldconfig
 
</pre>
 
 
(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==
 
 
For Breton → French, and other pairs which use [[CG]], you need:
 
 
<pre>
 
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox
 
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium
 
svn co --username anonymous --password anonymous http://beta.visl.sdu.dk/svn/visl/tools/vislcg3/trunk vislcg3
 
svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-br-fr
 
</pre>
 
 
Install vislcg3 like Apertium. Note that you have to have [http://site.icu-project.org/ ICU] installed beforehand.
 
 
[[Category:Documentation]]
 
[[Category:Installation]]
 

Latest revision as of 22:05, 7 March 2018

En français

WARNING

This page is out of date as a result of the migration to GitHub. Please update this page with new documentation and remove this warning. If you are unsure how to proceed, please contact the GitHub migration team.

This page is deprecated.

The information which was here is split across other pages.

The page contained,

Or start from the information root at Installation?