Install from SVN repositories

Installing from the SVN is very similar to installing from source, but you'll have the chance to easily update your FreeLing to the latest development version.

1.
Install development tools

You'll need to install the C++ compiler, the GNU autotools, and a SVN client.

 sudo apt-get install build-essential automake autoconf libtool subversion

If you use a distribution different than Debian or Ubuntu, these packages may have different names. Use your package manager to locate and install the appropriate ones.

2.
Install packaged requirements

Follow the same procedure described in section 2.2.2 for this step.

3.
Checkout FreeLing sources

If you want the latest development version, do:

 svn checkout http://devel.cpl.upc.edu/freeling/svn/trunk myfreeling
(you can replace myfreeling with the directory name of your choice).

Alternatively, you can get any previous release with a command like:

 svn checkout http://devel.cpl.upc.edu/freeling/svn/versions/freeling-3.0-alfa1 myfreeling
(just replace 3.0-alfa1 with the right version number). You can see which versions are available by pointing your web browser to http://devel.cpl.upc.edu/freeling/svn/versions2.1.

4.
Prepare local repositories for compilation
 cd myfreeling
 aclocal; libtoolize; autoconf; automake -a

5.
Build and install FreeLing
 ./configure
 make
 sudo make install

If you keep the svn directories, you will be able to update to newer versions at any moment:

 cd myfreeling
 svn update
 ./configure
 make
 sudo make install
Depending on what changed in the repository, you may need to issue aclocal; autoconf; automake -a after svn update. You may also need to issue make distclean and repeat the process from ./configure onwards.

Lluís Padró 2013-09-09