Difference between revisions of "Apertium on Arch Linux"

From Apertium
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Installation sur Arch Linux|En français]]
Instructions for installing Apertium and language pairs on Arch Linux.

Arch Linux users should follow [[Installation]] if they wish to develop/contribute to Apertium. Users who simply want to use the released translators can install packages from AUR.



==Installing the released packages==
==Installing the released packages==
These should all be available through [http://wiki.archlinux.org/index.php/AUR AUR]. If you have [http://aur.archlinux.org/packages.php?ID=5863 yaourt] installed, installing a language pair like Esperanto-English is simply a matter of
These should all be available through [http://wiki.archlinux.org/index.php/AUR AUR]. If you have [http://aur.archlinux.org/packages.php?ID=5863 yaourt] installed, installing a language pair like Esperanto-English is simply a matter of
<pre>
<pre>
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>
#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


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:
<pre>
sudo pacman -S expat gawk libxslt pcre gcc-libs libxml2 icu
</pre>
(Note: <code>icu</code> is only needed if you need to install <code>vislcg3</code>, which is required for certain language pairs.)


Many language pairs are, however, not released and/or not available through AUR. For these, see [[Installation]] on how to install from GitHub.
Then just follow http://wiki.apertium.org/wiki/Minimal_installation_from_SVN.


[[Category:Installation]]
[[Category:Installation]]

Latest revision as of 02:50, 9 March 2018

En français

Arch Linux users should follow Installation if they wish to develop/contribute to Apertium. Users who simply want to use the released translators can install packages from AUR.


Installing the released packages[edit]

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

Many language pairs are, however, not released and/or not available through AUR. For these, see Installation on how to install from GitHub.