Wednesday, October 15, 2008

updating to OpenOffice 3.0 in Kubuntu Hardy Heron (8.04)

Okay before I begin we first need to discuss a couple of things here:

Credit must be given to mogyweb who's how to for Ubuntu was helpful but incomplete for Kubuntu as there is one or two more steps which must be discussed.

The file system Structure differences between Gnome and KDE are very apparent when installing the latest version of OpenOffice in Hardy. However, they are minor at best.

The following is from mogyweb's post. Anything preceded with a * is an added note:

OpenOffice 3.0 is not in the repository for Ubuntu yet…why…I do not know. Anyway you can install it very easily by following a couple steps.

Download the file from
OOo_3.0.0_LinuxIntel_install_english-US_deb.tar.gz (*You should replace with the tar ball file that has the appropriate language for your use if available.)

*Use Adept or Synaptic to remove all OpenOffice 2.4 packages. These will conflict with OpenOffice 3.0 files and will keep 3.0 from loading. In your home folder (and all other user home folders, if you have more than one) remove all hidden folders related to OpenOffice. The user settings for OpenOffice 2.4 are incompatible with 3.0 and will keep OpenOffice 3.0 from loading files and starting up past the initial startup screen if using the the main OpenOffice user Interface or past the splash screen if calling up a specific OpenOffice application such as Writer.

Now you need to right click it and extract or run this command:
tar xzf OOo_3.0.0_LinuxIntel_install_english-US_deb.tar.gz

That will create a number of folders. Now move into those folders:

cd OOO300_m9_native_packed-1_en-US.9358/DEBS

*Before installing, if you use KDE exclusively remove the file ooobasis3.0-gnome-integration_3.0.0-9_i386.deb from the directory you can either delete it (not recommended) or move it into another directory. In the directory desktop-integration is the deb package that will install your menu icons for OpenOffice 3.0. You should copy or move that deb package into the working directory so that your menu icons are incorporated into the KDE menu under the Office listings.

sudo dpkg -i *.deb

*You will have to redo file associations but that is easy enough to do. Simply right click the file you wish to associate to OpenOffice and select Open With >> Other. Check the box labled "Remember application association for this type of file" and the under the Office Menu listing select the appropriate OpenOffice application for that file type. KDE will then associate the file extension to the correct application and hence forth when you open that file type it will use the OpenOffice application.