Difference between revisions of "Apertium on Fedora"
Jump to navigation
Jump to search
(redundant) |
|||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | The installation of Apertium on Fedora is similar to the other distributions. |
||
− | |||
− | ==Installing the newest version from SVN == |
||
− | Open a Terminal window, authenticate as root and go through the following steps. |
||
− | |||
− | Step 0: '''Run a system update''' (Optional) |
||
− | <pre>su - |
||
− | yum update</pre> |
||
− | This is optional, but recommended. |
||
− | |||
− | Step 1: '''Install the prerequisites.''' |
||
− | <pre> yum install subversion make gcc gcc-c++ pcre-devel libxml2-devel flex libtool automake autoconf</pre> |
||
− | |||
− | Step 2: '''Download apertium, lttoolbox and language pairs from SVN.''' |
||
− | <pre> |
||
− | svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk apertium |
||
− | </pre> |
||
− | ''Note'': The above checkout will download lots of files with all the language pairs. If you have limited bandwidth or disk space (or time), please follow the [[Minimal installation from SVN]] instead. |
||
− | |||
− | Step 3: '''Compile and install lttoolbox.''' |
||
− | <pre> |
||
− | cd apertium |
||
− | cd lttoolbox/ |
||
− | PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh |
||
− | make |
||
− | make install |
||
− | ldconfig |
||
− | </pre> |
||
− | |||
− | Step 4: '''Compile and install apertium.''' |
||
− | <pre> |
||
− | cd .. |
||
− | cd apertium/ |
||
− | PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh |
||
− | make |
||
− | make install |
||
− | ldconfig |
||
− | </pre> |
||
− | |||
− | Step 5: '''You can now compile the language pairs that you want to use.''' It's the same procedure for every pair. |
||
− | |||
− | ''Note: we give an example with apertium-fr-es'' |
||
− | <pre> |
||
− | cd .. |
||
− | cd apertium-fr-es/ |
||
− | PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh |
||
− | make |
||
− | sudo make install |
||
− | </pre> |
||
− | |||
− | Step 6: '''Try it out''' |
||
− | <pre> |
||
− | echo "J'ai deux frères" | apertium fr-es |
||
− | </pre> |
||
− | |||
− | |||
− | |||
− | |||
⚫ | |||
− | [[Category:Documentation in English]] |
Latest revision as of 10:10, 22 November 2013
Redirect to: