Sunday, December 11, 2005

Debian HOW-TO: OpenOffice 2.0

With Debian Sarge comes OpenOffice version 1.1.3, though I much prefer the new version 2.0.

First, if you have installed OpenOffice 1.1.3, I suggest you uninstall it, for that use Synaptic or apt-get :

sudo apt-get remove --purge openoffice.org


Now, let's get to OpenOffice 2.0.

  • Prerequisite

You'll need to install Java first : here is a tutorial.

  • Installation


Download OpenOffice.org 2.0 for Linux from openoffice.org.

Install the required Debian/Ubuntu packages :

sudo apt-get install fakeroot alien


Uncompress the tarball :

tar zxf OOo_2.0.0_LinuxIntel_install.tar.gz


Navigate into the right directory :

cd OOO680_m3_native_packed-2_en-US.8968/RPMS/


Convert the .rpm packages to .deb (debian packages) :

fakeroot alien -d *.rpm


Now install those Debian packages :

sudo dpkg -i *.deb
cd desktop-integration/
sudo dpkg -i openoffice.org-debian-menus_2.0.0-3_all.deb


That's it!

2 comments:

Anonymous said...

These instructions have now changed a little bit since you first posted them. I'm trying to upgrade from 2.0.4 (Kubuntu Edgy 6.10) to OpenOffice 2.1 and here are the steps I took in place of the first two steps you had listed:

# sudo apt-get remove --purge openoffice.org-base
# sudo apt-get remove --purge openoffice.org-calc
# sudo apt-get remove --purge openoffice.org-draw
# sudo apt-get remove --purge openoffice.org-impress
# sudo apt-get remove --purge openoffice.org-math
# sudo apt-get remove --purge openoffice.org-writer
# sudo apt-get remove --purge openoffice.org-l10n-*
# sudo apt-get remove --purge openoffice.org-core
# sudo apt-get remove --purge openoffice.org-common
# sudo apt-get install fakeroot alien

continued

Hugues said...

Hi Steven,

I'm glad I could be of some help. I took a look at your blog : good work, keep it up.

Hugues