Tuesday, October 6, 2009

Install OpenOffice.Org 3.1.1 on Ubuntu Linux

How to Install OpenOffice.Org 3.1.1 on Ubuntu Linux:

If you want to install OpenOffice 3.1.1 in debian linux (Ubuntu) automatically using
"Synaptic", use the following procedures.

1. Open "sources.list" file from "/etc/apt/" using gedit / nano.

Command: sudo nano /etc/apt/sources.list OR sudo gedit /etc/apt/sources.list

2. Add following 2 lines at the end.

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

3. Add the trusted key for these repositories:
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 247D1CFF
Then go to "terminal" (gnome-konsole) and update the packages by using
following command.

Command: sudo apt-get update

4. Then open "Synaptic" in root / superuser / fake-root mode.

Command: sudo synaptic

5. Search the package using "openoffice" key in search textbox and you will find
a list of packages of openoffice (if there is any previous versions). Righ click on
the package and select "Mark for Upgrading". Then click on "Apply" button to upgrade
the OpenOffice package to 3.1.1 version.

If there is no existing (old version) openoffice package installed in your computer,
then you can right click on the package and select "Mark for Installation". Click on
"Apply" to install.


If you are installing  for the first time, then use the command,

sudo apt-get install openoffice.org

Troubleshooting :

I found some errors while installing packages due to broken links / broken packages.
This seems to be a BUG. This can not be solved automatically in any way. I found an
easier but manual method to fix it.
Go to Path : /var/cache/apt/archives.
Method: Usually all debian packages are stored in a local folder whenever we install
new packages from Internet. Go to the folder and delete defective/broken packages
manually and then use the update option and reinstall.

1 comment:

  1. I want to install OpenOffice on my laptop, thanks guide download, and install it.