Installing OpenOffice 2.4.x under Red Hat Enterprise Linux 5.x

7 April 2008

If 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

  1. Uninstall any existing installation. If you have yum, then as root run
    yum remove openoffice.org-*
    If you must or would rather use rpm then use the command
    rpm -qa | grep openoffice | xargs rpm -e --nodeps
  2. 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.
  3. 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).
  4. As root, if you don't have a more recent version of a JRE than 6u4, then run
    rpm -U *.rpm
    otherwise run
    rpm -U openoffice*.rpm
  5. As root, run
    rpm -U desktop-integration/openoffice.org-redhat-menus-2.4-*.noarch.rpm
    (NB: You will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)
  6. Go to the directory in which libvclplug_gen680li.so.1.1 is found:
    cd /opt/openoffice.org2.4/program
  7. As root, enter the following to get SELinux to accept the interface:
    chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
  8. If you did not install the JRE above, then
    • Launch OpenOffice.
      /usr/bin/openoffice.org2.4
      (It will not be listed on the applications menu unless you have logged-out and back-in.)
    • 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.)

Tags: , , , , ,

4 Responses to Installing OpenOffice 2.4.x under Red Hat Enterprise Linux 5.x

  • valuequest says:

    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.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.