Difference between revisions of "Prerequisites for Debian"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
<pre> |
<pre> |
||
sudo apt-get install subversion build-essential pkg-config gawk libxml2 \ |
sudo apt-get install subversion build-essential pkg-config gawk libxml2 \ |
||
libxml2-dev libxml2-utils xsltproc flex automake libtool libpcre3-dev |
libxml2-dev libxml2-utils xsltproc flex automake libtool libpcre3-dev zlib1g-dev |
||
</pre> |
</pre> |
||
Revision as of 12:09, 22 January 2014
This page shows how to install the standard dependencies of apertium (and related packages) on Debian / Ubuntu / Mint / other Debian-based operating systems.
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.
(Note: it is possible to install apertium and some language pairs using apt-get, but the versions there are often out of date. It is not recommended if you want to do development.)
See also
- Apertium on Ubuntu – more installation and troubleshooting help specific to Ubuntu/Debian