Difference between revisions of "Apertium on Ubuntu or Debian"

From Apertium
Jump to navigation Jump to search
(update svn install)
Line 15: Line 15:
=== Installing by svn ===
=== Installing by svn ===


<pre>
sudo su
sudo su
</pre>

''enter your root password''
''enter your root password''


<pre>
exit
</pre>

<pre>
apt-get install subversion g++ libxml2 libxml2-dev xsltproc flex automake1.9 autoconf libtool
apt-get install subversion g++ libxml2 libxml2-dev xsltproc flex automake1.9 autoconf libtool
</pre>
''Then click yes''
''Wait till the packages are downloaded and installed''


Warning install ''automake1.9'' and not ''automake''
The version of automake of Edgy is too old (1.4 instead of 1.9), so
''Then click yes.''


''Wait till the packages are downloaded and installed.''
go to ltoolbox directory (cd apertium ; cd ltoolbox)
<pre>
(apt-get remove automake)
svn co http://apertium.svn.sourceforge.net/svnroot/apertium
open with a text editor "autogen.sh" and change "aclocal-1.9" in "aclocal"
</pre>
and "automake-1.9" in "automake"
Go to lttoolbox directory with

<pre>
cd apertium/lttoolbox

</pre>

Then launch autogen.sh

<pre>


./autogen.sh
./autogen.sh

./autogen.sh (yes twice)
</pre>

Launch configure

<pre>
./configure
./configure
</pre>
make
sudo make install


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


Launche make

<pre>make</pre>

That last command may takes some minutes.

<pre>sudo make install</pre>

''Enter your root password.''

<pre> cd.. </pre>
<pre> cd apertium </pre>

<pre>./autogen.sh</pre>


cd apertium/lttoolbox
./autogen.sh
./configure
./configure
make
make

Revision as of 07:18, 29 June 2007

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

Installing by svn

sudo su

enter your root password

exit
apt-get install subversion g++ libxml2 libxml2-dev xsltproc flex  automake1.9 autoconf libtool 

Warning install automake1.9 and not automake Then click yes.

Wait till the packages are downloaded and installed.

svn co http://apertium.svn.sourceforge.net/svnroot/apertium

Go to lttoolbox directory with

cd apertium/lttoolbox

Then launch autogen.sh


./autogen.sh

Launch configure

./configure


Launche make

make

That last command may takes some minutes.

sudo make install

Enter your root password.

 cd.. 
 cd apertium 
./autogen.sh

./configure make sudo make install

Installing tarball (tar.gz)

Go to http://sourceforge.net/project/showfiles.php?group_id=143781&package_id=159345 and download the latest version

tar xzvf lttoolbox-2.0.3.tar.gz (or put the name of a newer version) cd lttoolbox-2.0.3/ ./configure sudo su (enter your password) make

Go to http://sourceforge.net/project/showfiles.php?group_id=143781&package_id=157932 and download the latest version (2.0.3 as of June 2007)

tar xzvf apertium-2.0.3.tar.gz (or put the name of a newer version) cd apertium-2.0.3.tar.gz ./configure

Feisty

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

Source

This documentation is partly based on the following ressources: