Tuesday, April 08, 2008

cara upgrade OpenOffice 2.3 ke 2.4 di Ubuntu 7.04

1. Remove all the packages from the installed version
Go to Synaptic or your package manager and mark all the openoffice.org packages installed to be removed (there is the string ubuntu in their version number). This is mandatory for your first upgrade of the distro delivered OOo version, no need to to that for the following upgrades.
For Ubuntu, the system will also remove the ubuntu-desktop package. No worry, this is a meta package that can be removed safely. But in case you want to upgrade your whole distro, you'll have to install back this package (and the OOo original version).

2. Download the tarball (.tar.gz file) from the official OOo web site
See here : http://download.openoffice.org/index.html.

3. Extract the tarball in your home directory (or any other directory you want)
Open a terminal (you should be directly in your home directory) and :

Code: Select all Expand viewCollapse view
tar -vxzf filename

Example (for 2.4): filename = OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz

You should see a new folder, say OOo_inst_folder.
Example (for 2.4): OOo_inst_folder = OOH680_m12_native_packed-1_en-US.9286

4. Install the created .debs

Code: Select all Expand viewCollapse view
cd OOo_inst_folder/DEBS
sudo dpkg -i *.deb


5. Update the Gnome menu
Go to the desktop integration subfolder.

Code: Select all Expand viewCollapse view
cd desktop-integration


Run again the previous installation command.

Code: Select all Expand viewCollapse view
sudo dpkg -i *.deb

No comments: