Difference between revisions of "Apertium on Arch Linux"

From Apertium
Jump to navigation Jump to search
(no reason for why "this will work better" (both will install deps), so removed)
Line 6: Line 6:
 
yaourt -S apertium-eo-en
 
yaourt -S apertium-eo-en
 
</pre>
 
</pre>
  +
This will install both apertium, lttoolbox and apertium-eo-en in the /usr prefix. You can of course use your favourite AUR installation method (manual makepkg or other [https://wiki.archlinux.org/index.php/AUR_Helpers AUR Helpers]).
The following command will work better and this will install the apertium package itself.
 
  +
<pre>
 
 
If you have trouble, follow the instructions on http://wiki.archlinux.org/index.php/AUR#Installing_Packages_from_the_AUR. You'll find a list of language pairs in AUR at http://aur.archlinux.org/packages.php?K=apertium
#aurget --deps -Sy --nodiscard --noedit --noconfirm --asroot apertium
 
</pre>
 
which will install the dependencies too. If not, follow the instructions on http://wiki.archlinux.org/index.php/AUR#Installing_Packages_from_the_AUR. You'll find a list of language pairs in AUR at http://aur.archlinux.org/packages.php?K=apertium
 
   
 
==Installing the newest versions from SVN==
 
==Installing the newest versions from SVN==

Revision as of 08:13, 26 June 2013

Instructions for installing Apertium and language pairs on Arch Linux.

Installing the released packages

These should all be available through AUR. If you have yaourt installed, installing a language pair like Esperanto-English is simply a matter of

 yaourt -S apertium-eo-en

This will install both apertium, lttoolbox and apertium-eo-en in the /usr prefix. You can of course use your favourite AUR installation method (manual makepkg or other AUR Helpers).

If you have trouble, follow the instructions on http://wiki.archlinux.org/index.php/AUR#Installing_Packages_from_the_AUR. You'll find a list of language pairs in AUR at http://aur.archlinux.org/packages.php?K=apertium

Installing the newest versions from SVN

Install the prerequisites:

 sudo pacman -S expat gawk libxslt pcre gcc-libs libxml2 icu

(Note: icu is only needed if you need to install vislcg3, which is required for certain language pairs.)

Then just follow http://wiki.apertium.org/wiki/Minimal_installation_from_SVN.