Difference between revisions of "Apertium-quality/Installation"

From Apertium
Jump to navigation Jump to search
Line 8: Line 8:


All other dependencies are installed automatically.
All other dependencies are installed automatically.
<!--

== On Debian or Ubuntu ==
== On Debian or Ubuntu ==
If you have root access on Debian or Ubuntu, installing apertium-quality and all of its dependencies couldn't be easier! For example, if you're running Debian Squeeze, just run the following commands:
If you have root access on Debian or Ubuntu, installing apertium-quality and all of its dependencies couldn't be easier! For example, if you're running Debian Squeeze, just run the following commands:
Line 19: Line 19:


If you are using another distro such as Ubuntu Natty or Debian Sid, just replace squeeze with the version name: sid, natty, etc.
If you are using another distro such as Ubuntu Natty or Debian Sid, just replace squeeze with the version name: sid, natty, etc.
-->

== From source ==
== From source ==
The source code can be acquired in a few ways.
The source code can be acquired in a few ways.

Revision as of 14:48, 19 August 2011

Requirements

You must have:

  • Python >=3.1

Recommended for installation:

  • python3-lxml [1]
  • python3-nltk (Available in my repository; explained later)

All other dependencies are installed automatically.

From source

The source code can be acquired in a few ways.

Git:

git clone git://github.com/bbqsrc/apertium-quality.git

SVN:

svn co https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-tools/apertium-quality

Tarball:

wget https://github.com/bbqsrc/apertium-quality/tarball/master

Without root (user prefix)

Installation without root is no more difficult than above:

./autogen.sh --prefix ~/yourprefix

After installation, restart your terminal.