Apertium on Ubuntu or Debian

From Apertium
Revision as of 20:11, 27 June 2007 by Youssefsan (talk | contribs)
Jump to navigation Jump to search

There a various releases of Ubunutu :

  • Dapper Drake
  • Edgy Eft
  • Feisty Fawn

Dapper Drake

Several programs that are needed cannot be installed easily on Dapper Drake, because the version available with apt-get are too old. We suggest to install a newer version of Ubuntu as for example Edgy Eft or Feisty Fawn

Edgy Eft

This is guide to install Apertium under Ubuntu Edgy Eft, aka Ubuntu 6.10

sudo su enter your root password

apt-get install subversion g++ libxml2 libxml2-dev xsltproc flex automake autoconf libtool Then click yes Wait till the packages are downloaded and installed

The version of automake of Edgy is too old (1.4 instead of 1.9), so

go to ltoolbox directory (cd apertium ; cd ltoolbox) (apt-get remove automake) open with a text editor "autogen.sh" and change "aclocal-1.9" in "aclocal" and "automake-1.9" in "automake"

./autogen.sh ./autogen.sh (yes twice) ./configure make

Create an apertium directory with mkdir apertium cd apertium svn co http://apertium.svn.sourceforge.net/svnroot/apertium Wait till it is done

cd apertium/lttoolbox ./autogen.sh


An old version of Apertium is available for Feisty http://packages.ubuntu.com/feisty/libs/apertium


This documentation is partly based on the following ressources: