Difference between revisions of "Apertium on openSUSE"

From Apertium
Jump to navigation Jump to search
(New page: === 0. Introduction === This note explains how to install the latest 3.0.4 svn version of Apertium on a stock openSUSE 10.2 install. If you choose the development pattern at or after ins...)
 
Line 5: Line 5:
=== 1. Install required packages ===
=== 1. Install required packages ===


If you choose the development pattern at or after your openSUSE install (using YaST, Smart, zypper or whatever), you will get most of the packages required for development, and may not have to add all of those listed below. Ensure that the following packages are present:
Ensure that the following packages are installed using YaST, Smart, zypper or whatever:
* subversion
* subversion
* libxml2 and libxml2-devel
* libxml2 and libxml2-devel
Line 21: Line 21:


<pre>
<pre>
cd [homedir]
svn co http://apertium.svn.sourceforge.net/svnroot/apertium
svn co http://apertium.svn.sourceforge.net/svnroot/apertium
</pre>
</pre>

This will take some time to fully download, and at the end you should have a directory ''[homedir]/apertium'' with 43 folders in it, some containing tools and some containing language-pair data.

=== 3. Set up your install dirs ===

From [homedir]:

<pre>
mkdir local
cd local/
mkdir standard unicode
</pre>

This creates [homedir]/local/standard and [homedir]/local/unicode. this

Revision as of 09:21, 19 October 2007

0. Introduction

This note explains how to install the latest 3.0.4 svn version of Apertium on a stock openSUSE 10.2 install. If you choose the development pattern at or after install, you will get most of the packages required for development, and may not have to add those listed in section 1 below. The Apertium install is done into a directory in the user's homedir - in my case it was /home/kevin/downloads/linguistics, but it can be anything you choose. In this note, this choice will be referred to as [homedir].

1. Install required packages

If you choose the development pattern at or after your openSUSE install (using YaST, Smart, zypper or whatever), you will get most of the packages required for development, and may not have to add all of those listed below. Ensure that the following packages are present:

  • subversion
  • libxml2 and libxml2-devel
  • libxslt
  • libtool
  • pcre and pcre-devel
  • flex
  • automake
  • autoconf
  • gcc-c++

2. Download Apertium

Open a terminal, go to your [homedir] and checkout the latest version:

cd [homedir]
svn co http://apertium.svn.sourceforge.net/svnroot/apertium

This will take some time to fully download, and at the end you should have a directory [homedir]/apertium with 43 folders in it, some containing tools and some containing language-pair data.

3. Set up your install dirs

From [homedir]:

mkdir local
cd local/
mkdir standard unicode

This creates [homedir]/local/standard and [homedir]/local/unicode. this