Saturday, 5 September 2009

How-To: Install OpenOffice.org 3.1.1 in Ubuntu 9.04 Jaunty Jackalope

OpenOffice.org 3.1.1 was released a few days ago, bringing many bug fixes to the stable 3.1 series. One of the ways to get it on Jaunty is to use the Launchpad.net PPA for OpenOffice.org Scribblers which recently packaged it for Ubuntu Jaunty and included it in their repositories.

To install the latest release using command-line, just use the instructions below:

First, edit the /etc/apt/sources.list file and enter your user password:

sudo nano /etc/apt/sources.list

Add the following two lines (the second one is not necessary, unless you want the sources to be available too):

deb http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ppa/ubuntu jaunty main

Add the trusted key for these repositories:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247D1CFF

Update the packages lists:

sudo apt-get update

You can eventually remove your existing OpenOffice installation by using the following two commands:

sudo apt-get remove --purge openoffice.org
sudo apt-get autoremove --purge

This will also remove system-wide configuration files.

Now, install OpenOffice.org 3.1.1:

sudo apt-get install openoffice.org

This should be all. You can run it by pressing Alt+F2 and typing openoffice in the run box.

6 comments:

pingwin said...

suppose the easiest way is to use the check for update option in openoffice to get the latest version.

KenP said...

After adding the ppa repository, you can do:
sudo apt-get update
sudo apt-get upgrade OR sudo apt-get dist-upgrade

Then, you don't need to purge/remove the existing openoffice.

Is there an advantage in purging the existing version before installing 3.1.1?

Matias said...

Does it work with Linux Mint 7 (Gloria) also? Propably yes?

Gary said...

Well, on importing the key I get:

gpg: key 247D1CFF: public key "Launchpad PPA for OpenOffice.org Scribblers" imported
gpg: no ultimately trusted keys found

Mike said...

Just to be sure everyone, who thinks you can just update, realizes. Ubuntu does not ship with OOo OpenOffice. They ship with Go-oo OpenOffice from Novell. Debian just released an update and it will appear real soon but if you are going to depend on the straight updates and stick with the packaged Go-oo, don't open any untrusted documents for the next few days until the update appears. They're running behind OOo by several days. That's probably also why the recommendation to purge the existing version.

r4 ds games said...

Compatible with Office 2007 and it's free. so it is best....