Installing OpenOffice 2.4.x under Red Hat Enterprise Linux 5.x
7 April 2008If you’re actually trying to install another version of OpenOffice, then click on the OpenOffice
tag, as there may be an entry on that other version.
OpenOffice 2.4 has been released. Users of Red Hat Enterprise Linux 5.x should not run the setup routine. Instead
- Uninstall any existing installation. If you have
yum
, then as root run
If you must or would rather useyum remove openoffice.org-*
rpm
then use the commandrpm -qa | grep openoffice | xargs rpm -e --nodeps
- Unpack OOo_2.4.0_LinuxIntel_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.
- Go into resulting OOH680_m12_native_packed-1_en-US.xxxx/RPMS/ (or to the OOH680_m12_native_packed-1_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).
- As root, if you don't have a more recent version of a JRE than 6u4, then run
otherwise runrpm -U *.rpm
rpm -U openoffice*.rpm
- As root, run
(NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)rpm -U desktop-integration/openoffice.org-redhat-menus-2.4-*.noarch.rpm
- Go to the directory in which libvclplug_gen680li.so.1.1 is found:
cd /opt/openoffice.org2.4/program
- As root, enter the following to get SELinux to accept the interface:
chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
- If you did not install the JRE above, then
- Launch OpenOffice.
(It will not be listed on the applications menu unless you have logged-out and back-in.)/usr/bin/openoffice.org2.4
- Select
Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
- Choose one of the environments that is then listed.
- Click the
OK
button. - Shut-down OpenOffice. (The change will be in effect upon next launch.)
- Launch OpenOffice.
Hey thanks for the blog post -- I needed it 🙂
When I ran the 'rpm -U *.rpm' command (step #4 ^) I got a bunch of dependency errors related to one particular package (java-grc-compat or something like that). So I installed the jre-6u4 package first with 'rpm -iv jre-6u4-linux-i586.rpm'. After I checked that the jre-6u4 package installed OK with 'rpm -qa | grep jre' then I used the other command under step #4 to install the other openoffice.org\* .rpms.
I'm glad that the entry was helpful to you. And thank you for your advice to those who run into the dependency problem that you resolved.
I suspect that the missing package was
java-d.d.d-gcj-compat-d.d.d.d-ddjpp.ddd.rpm
(where the JPackage runtime envronment with GCJ.
are various digits). This package is stuff to simulate ahi
openoffice not installing
Well, if you could provide more information, then I (or some passer-by) might be willing and able to help.