How-To: Install OpenOffice 3.1 in Debian 5.0 Lenny
Debian Lenny comes by default with OpenOffice 2.6.4, but in the meantime OpenOffice 3.1 was released. You can easily install it on your Debian box by using the Debian Lenny backports repository, which is a repository including newer versions of applications than the ones which come by default with Lenny. Just follow the steps below:
Add the backports repositories
To add the Lenny backports repositories, just edit as root your /etc/apt/sources.list file and add the following line:
deb http://www.backports.org/debian lenny-backports main contrib non-free
Make sure to save the file (Ctrl+O followed by Ctrl+X in Nano) and proceed to the next step.