This is my quick and easy install of OpenOffice on CentOS. The OpenOffice.org version is 2.3 and the CentOS version is 4.5. I will be using the RPM version downloaded from the OpenOffice.org website.
First let's make a temporary dir to untar our download to and switch to it.
Next, go to the website an download the latest RPM install package for OpenOffice.org to the temp dir we just changed to. The current OpenOffice.org as of this posting is 2.3. My filename was called OOo_2.3.0_LinuxIntel_install_en-US.tar.gz so that's what we will use for the example.
Now, lets untar it and get to where the RPM's are.
tar xvzf OOo_2.3.0_LinuxIntel_install_en-US.tar.gz
Let's install all of the RPM's in the OpenOffice.org RPMS dir and uninstall any older installed versions of OpenOffice.org in the process.
rpm -Uivv openoffice.org-*
After installing all of the packages we need to install the links in the CentOS menu for the newer packages. We are going to install the freedesktop-menus and not the redhat-menus package because the redhat-menus package does not seem to work correctly.
rpm -Uvv openoffice.org-freedesktop-menus-2.3-9215.noarch.rpm
That should be it. You can access your OpenOffice.org programs from your CentOS menu on your desktop or I beleive the /opt/openoffice.org2.3/program/ dir.
Now, just clean up your mess in /tmp and we are done.
rm -Rf /tmp/openoffice/