Installing and setting up LanguageTool in OpenOffice on Debian Lenny.
First of all you need to have OpenOffice 3.1 installed.
If you want to install a later version of OpenOffice than the default (2.6.4) supplied with Debian Lenny,
you’ll have to fetch it from the Debian Lenny backports repo.
Edit your /etc/apt/sources.list and add the repo:
deb http://www.backports.org/debian lenny-backports main contrib non-free
Install the debian backports keyring:
#apt-get install debian-backports-keyring #apt-get update #apt-get -t lenny-backports install openoffice.org
Make sure openoffice.org-java-common is installed.
Make sure sun-java5-jre is installed and selected in OpenOffice under Tools->Options->OpenOffice.org->Java.
Java versions other than Sun, may not work.
Download the LanguageTool extension from http://www.languagetool.org/
In OpenOffice Tools menu Extension Manager, Browse to the language tool file you downloaded and select it.
That should be it. Can’t remember if I had to restart OpenOffice.