Difference between revisions of "Prerequisites for Debian"

From Apertium
Jump to navigation Jump to search
Line 2: Line 2:
   
   
You should '''not''' install the apertium packages that are in standard Debian/Ubuntu if you want to do development, these are massively out-of-date. ''However'', it is now possible to get nightly SVN packages of core packages (and even language pairs) through apt-get if you add Tino's repository: http://apertium.projectjj.com/apt/howto.txt If you want to work on a language pair, you can install apertium/lttoolbox/apertium-lex-tools from this repo, and then only check out the language data from SVN.
+
You should '''not''' install the apertium packages that are in standard Debian/Ubuntu if you want to do development, these are massively out-of-date. ''However'', it is now possible to get '''nightly SVN packages''' of core packages (and even language pairs) through apt-get if you add Tino's repository: http://apertium.projectjj.com/apt/howto.txt If you want to work on a language pair, you can install apertium/lttoolbox/apertium-lex-tools from this repo, and then only check out the language data from SVN.
   
   

Revision as of 07:31, 26 July 2014

This page shows how to install the standard dependencies of apertium (and related packages) on Debian / Ubuntu / Mint / other Debian-based operating systems.


You should not install the apertium packages that are in standard Debian/Ubuntu if you want to do development, these are massively out-of-date. However, it is now possible to get nightly SVN packages of core packages (and even language pairs) through apt-get if you add Tino's repository: http://apertium.projectjj.com/apt/howto.txt If you want to work on a language pair, you can install apertium/lttoolbox/apertium-lex-tools from this repo, and then only check out the language data from SVN.


Otherwise (e.g. if you want to work on the core packages), install the apertium dependencies with apt-get like this:

sudo apt-get install subversion build-essential pkg-config gawk libxml2 \
libxml2-dev libxml2-utils xsltproc flex automake libtool libpcre3-dev zlib1g-dev

If you need vislcg3/cg-proc/cg-comp (Constraint Grammar), you should also do:

sudo apt-get install libboost-dev libgoogle-perftools-dev libicu-dev cmake


Once you've installed these packages, continue to Minimal installation from SVN.


See also

  • Apertium on Ubuntu – more installation and troubleshooting help specific to Ubuntu/Debian