Difference between revisions of "Prerequisites for Debian"

From Apertium
Jump to navigation Jump to search
(cg deps)
Line 13: Line 13:
 
sudo apt-get install libboost-dev libgoogle-perftools-dev libicu-dev cmake
 
sudo apt-get install libboost-dev libgoogle-perftools-dev libicu-dev cmake
 
</pre>
 
</pre>
  +
   
 
Once you've installed these packages, continue to [[Minimal installation from SVN]].
 
Once you've installed these packages, continue to [[Minimal installation from SVN]].

Revision as of 08:49, 23 November 2013

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  

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