Thursday, October 12, 2006

Preparing to Upgrade

Well, 2.0.4 is out, and i have download it this morning, so i think i will upgrade my OOo. Upgrading OOo is fairly simple, but in some distro, you will have to remove the existing installation first. This is the same way in Slackware.

First thing that you should do is download the latest version of (in this case is 2.0.4 which has just been released). Next, extract it by using:

tar -xzvf OOo_2.0.4_LinuxIntel_install.tar.gz

It will create a new directory and place all files (most of them are RPMs file). Next is to remove the unneeded directory (licenses and readmes) and leave the RPMS directory. Next one is to remove the desktop-integration, because Slackware is not listed there and we can do that manually using KDE's menu editor. You can also remove some packages which you don't use, for example, if you don't play with XSLT, then probably you can remove the package.

Next step is to convert the RPM package format into tgz package which can be installed using pkgtool later on. To convert this, use:

rpm2tgz *

and it will convert all packages (that's why it's best to remove unneeded package at the beginning). After all packages has been converted, start pkgtool and remove previous installation of (by choosing remove and pick the packages and then press Enter). After all packages has been removed, you can install the OOo by using:

installpkg *.tgz

Last step is to start the application and it will start a local installation and after that, enjoy the next OOo (you can optionally add OOo in the menu list) :)