Install OpenOffice.org on Fedora, CentOS and RHEL

Install OpenOffice.org 3.2.1/3.3.0 on Fedora 13/14, CentOS/Red, Hat (RHEL) 5.5

This is quick guide to install OpenOffice 3.2.1 on Fedora 14, Fedora 13, Fedora 12, CentOS 5.5, Red Hat (RHEL) 5.5 and Red Hat (RHEL) 6 with using OpenOffice.org original RPM packages. This guide is also updated to work with OpenOffice 3.3.0 Beta Version (currently Beta 1). OpenOffice.org 3.2.1 and OpenOffice.org 3.3.0 beta 1 can be installed and used simultaneously.

Install OpenOffice.org 3.2.1/3.3.0 on Fedora 13/14, CentOS/Red, Hat (RHEL) 5.5

This is quick guide to install OpenOffice 3.2.1 on Fedora 14, Fedora 13, Fedora 12, CentOS 5.5, Red Hat (RHEL) 5.5 and Red Hat (RHEL) 6 with using OpenOffice.org original RPM packages. This guide is also updated to work with OpenOffice 3.3.0 Beta Version (currently Beta 1). OpenOffice.org 3.2.1 and OpenOffice.org 3.3.0 beta 1 can be installed and used simultaneously.

1. Download OpenOffice.org 3.2.1/3.3.0 Linux Package

OpenOffice.org 3.2.1 32-bit version

wget http://download.services.openoffice.org/files/stable/3.2.1/OOo_3.2.1_Linux_x86_install-rpm-wJRE_en-US.tar.gz

OpenOffice.org 3.2.1 64-bit version

wget http://download.services.openoffice.org/files/stable/3.2.1/OOo_3.2.1_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz

OpenOffice.org 3.3.0 beta1 32-bit version

wget http://download.services.openoffice.org/files/extended/3.3.0beta1/OOo-Dev_3.3.0beta1_Linux_x86_install-rpm_en-US.tar.gz

OpenOffice.org 3.3.0 beta1 64-bit version

wget http://download.services.openoffice.org/files/extended/3.3.0beta1/OOo-Dev_3.3.0beta1_Linux_x86-64_install-rpm_en-US.tar.gz

2. Change to root User

su -
## OR ##
sudo -i

3. Remove Old OpenOffice.org Packages with following command

Note: This is not needed on OpenOffice.org 3.3.0 Beta 1 installation.

yum remove openoffice.org*

4. Extract Package and Access Directory

OpenOffice.org 3.2.1

tar -xvf OOo_3.2.1_*

cd OOO320*
## OR ##
cd OOO320_m18_native_packed-1_en-US.9502/

OpenOffice.org 3.3.0

tar -xvf OOo-Dev_3.3.0*

cd OOO330*
## OR ##
cd OOO330_m3_native_packed-2_en-US.9519/

5. Install OpenOffice.org RPM packages

OpenOffice.org 3.2.1

rpm -ivh RPMS/*.rpm RPMS/desktop-integration/openoffice.org3.2-redhat-menus-3.2-*.rpm
## OR ##
rpm -ivh RPMS/*.rpm
rpm -ivh RPMS/desktop-integration/openoffice.org3.2-redhat-menus-3.2-*.rpm

OpenOffice.org 3.3.0

rpm -ivh RPMS/*.rpm

Alternative Way To Install OpenOffice.org 3.2.1 and OpenOffice.org 3.3.0 with Graphical Setup Is Following

Do exactly as before (download, change root, remove old, extract package and access directory), but on Install step simply run following command:

./setup

Now install simply with GUI.

6. Start OpenOffice.org

OpenOffice.org 3.2.1

Start OpenOffice with Clicking Icons (found normally from menus) or Start OpenOffice with Following Command:

openoffice.org3

OpenOffice.org 3.3.0

Some reason Gnome menu icons is not working on Beta 1, so Start OpenOffice.org 3.3.0 with Following Command:

/opt/ooo-dev3/program/soffice.bin

Or create own icons and add Gnome menu.

Troubleshooting

If you encounter problems in launching OpenOffice.org 3.2.1/3.3.0, so you should try to start OpenOffice from the command line and check the errors.

If the errors are the following:

$ openoffice.org3
/opt/openoffice.org3/program/soffice.bin: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory

Or

$ openoffice.org3
/opt/openoffice.org3/program/soffice.bin: /opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3: version `UDK_3.10' not found (required by /opt/openoffice.org3/program/../basis-link/program/libsfxli.so) /opt/openoffice.org3/program/soffice.bin: /opt/openoffice.org3/program/../basis-link/program/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib/libcrypt.so.1)

Your system is probably installed the wrong version of the package openoffice.org-ure. Example on Fedora YUM update upgrade openoffice.org-ure packet from openoffice.org-ure-1.6.0-9483 (right package) to openoffice.org-ure-3.1.1-19.26.fc12 (wrong package).

I recommend the following to fix the problem (as root):

Remove all OpenOffice.org 3.2.1 packages

yum remove openoffice.org-ure jre-1.6.0_20-fcs.i586 openoffice.org3.2-redhat-menus-*.noarch

Follow the earlier instructions to install OpenOffice again.

Block openoffice.org-ure package updates. In other words, pin openoffice.org-ure-1.6.0-9483 package
Add exclude row to /etc/yum.conf file, under the section [main]:

## Edit file
nano -w /etc/yum.conf

## Add exclude row
[main]
exclude=openoffice.org-ure*

After that the openoffice.org-ure package will not be updated. It is important to remember to remove that line, at the stage where sometimes update the Open Office example via YUM package management.

Credits

Leave a Reply

Your email address will not be published. Required fields are marked *