Install from .tar.gz source packages

Installation from source follows standard GNU autoconfigure installation procedures (that is, the usual ./configure && make && make install stuff).

Installing from source is slower and harder, but it will work in any Linux box, even if you have library versions different than those required by the .deb package.

1.
Install development tools

You'll need to install the C++ compiler:

 sudo apt-get install build-essential automake autoconf
In Debian, use the same command as root, without sudo. In other distributions, check the distribution package manager to install a working C++ compiler.

2.
Install packaged requirements

All required libraries are standard packages in all Linux distributions. Just open your favorite software package manager and install them.

Package names may vary slightly in different distributions. See section 2.1 for some hints on possible package names.

As an example, commands to install the packages from command line in Ubuntu and Debian are provided, though you can do the same using synaptic, or aptitude. If you have another distribution, use your package manager to locate and install the appropriate library packages (see section 2.1).

Both in Debian (squeeze or wheezy) and in Ubuntu (Lucid or later) you need to do:

 sudo apt-get install libboost-regex-dev libicu-dev
 sudo apt-get install libboost-system-dev libboost-program-options-dev

3.
Install FreeLing

 tar xzvf freeling-3.0.tar.gz
 cd freeling-3.0
 ./configure
 make
 sudo make install

FreeLing library is entirely contained in the file libfreeling.so installed in /usr/local/lib by default.

Sample program analyze is installed in /usr/local/bin. See sections 2.3 and 6 for details.

Lluís Padró 2013-09-09