{"id":1758,"date":"2009-06-08T01:16:59","date_gmt":"2009-06-08T09:16:59","guid":{"rendered":"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=1758"},"modified":"2010-03-16T11:24:21","modified_gmt":"2010-03-16T19:24:21","slug":"installing-openoffice-31x-under-red-hat-enterprise-linux-5x","status":"publish","type":"post","link":"https:\/\/www.oeconomist.com\/blogs\/daniel\/?p=1758","title":{"rendered":"Installing OpenOffice 3.1.x under Red Hat Enterprise Linux 5.x"},"content":{"rendered":"<p style=\"text-align: center ; font-weight: bolder ;\">If you&#8217;re actually trying to install another version of OpenOffice, then click on <a href=\"?tag=openoffice\">the <q>OpenOffice<\/q> tag<\/a>, as there may be an entry on that other version.<\/p> <p>My suggested procedure for installing <a href=\"http:\/\/www.openoffice.org\/\">OpenOffice<\/a> 3.1.x under <abbr title=\"Red Hat Enterprise Linux\">RHEL<\/abbr> 5.x is essentially the same, <span style=\"font-style: italic ;\">mutatis mutandis<\/span>, as <a href=\"?p=803\">that for installing OpenOffice 3.0.x<\/a>:<\/p> <ol><li><p>If you don't have a <abbr title=\"Java Runtime Environment\">JRE<\/abbr> installed, then install one.  Version 1.6.0 update 13 of the <abbr title=\"Java Runtime Environment\">JRE<\/abbr> was distributed with OpenOffice 3.1.0 when Sun was already at <a href=\"https:\/\/cds.sun.com\/is-bin\/INTERSHOP.enfinity\/WFS\/CDS-CDS_Developer-Site\/en_US\/-\/USD\/ViewProductDetail-Start?ProductRef=jre-6u14-oth-JPR@CDS-CDS_Developer\">update 14<\/a>.  As I write, OpenOffice and Sun are in-synch at <a href=\"https:\/\/cds.sun.com\/is-bin\/INTERSHOP.enfinity\/WFS\/CDS-CDS_Developer-Site\/en_US\/-\/USD\/ViewProductDetail-Start?ProductRef=jdk-6u16-oth-JPR@CDS-CDS_Developer\">update 16<\/a>, but <a href=\"http:\/\/java.sun.com\/javase\/downloads\/index.jsp\">check with Sun<\/a> for a more recent version when you are installing OpenOffice. (I suggest that one use <code>jdk-6u<var>xx<\/var>-linux-<\/code><var>xxx<\/var><code><strong>-rpm<\/strong>.bin<\/code> or <code>jre-6u<var>xx<\/var>-linux-<\/code><var>xxx<\/var><code><strong>-rpm<\/strong>.bin<\/code>, rather than <code>jre-6u<var>xx<\/var>-linux-<\/code><var>xxx<\/var><code>.bin<\/code>.) The remainder of these instructions assume that one has a <abbr title=\"Java Runtime Environment\">JRE<\/abbr> installed.<\/p><\/li><li><p>Remove any earlier installation of OpenOffice.  As root, enter these two commands: <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>rpm -qa | grep openoffice | xargs rpm -e --nodeps<br \/>rpm -qa | grep ooobasis | xargs rpm -e --nodeps<\/code><\/blockquote><\/p><\/li><li><p>Unpack <a href=\"http:\/\/openoffice.bouncer.osuosl.org\/?product=OpenOffice.org&os=linuxintelwjre&lang=en-US&version=3.1.1\">OOo_3.1.<span style=\"font-style:italic ;\">x<\/span>_LinuxIntel_install_wJRE_en-US.tar.gz<\/a> (or <a href=\"http:\/\/download.openoffice.org\/other.html\">the version appropriate to a devil-language<\/a>, if you use one of those) to your filespace.<\/p><\/li><li><p>Go into resulting <code>OOO31<var>x<\/var>_m<var>xx<\/var>_native_packed-<var>x<\/var>_en-US.<var>xxxx<\/var>\/<strong>RPMS<\/strong>\/<\/code> (or to the <code>OOO31<var>x<\/var>_m<var>xx<\/var>_native_packed-<var>x<\/var>_<var>xx<\/var>-<var>xx<\/var>.<var>xxxx<\/var>\/<strong>RPMS<\/strong>\/<\/code> corresponding to your devil-tongue).<\/p><\/li><li><p>As root, run <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>find . -maxdepth 1 -name \"o*.rpm\" | xargs rpm -U<\/code><\/blockquote><\/p><\/li><li><p>As root, run <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>rpm -U desktop-integration\/openoffice.org*-redhat-menus-*.noarch.rpm<\/code><\/blockquote> (<span style=\"font-style: bolder ;\"><abbr title=\"nota bene\">NB<\/abbr>:<\/span> You may need to log-out and back-in for the Applications menu to be up-dated and list the <em>latest<\/em> OpenOffice components.  Your previous version may continue to be listed on the menu.)<\/p><\/li><li><p>As root, run <blockquote style=\"width: 100%; overflow: auto;\"><code>rpm&nbsp;-U&nbsp;userland\/*.rpm<\/code><\/blockquote><\/p><\/li><li><p>Tell OpenOffice which <abbr title=\"Java Runtime Environment\">JRE<\/abbr> to use: <ul><li>Launch OpenOffice: <blockquote style=\"width: 100%; overflow: auto;\"><code>\/usr\/bin\/openoffice.org3<\/code><\/blockquote> (It may not be listed on the applications menu unless you have logged-out and back-in.  Before then, you may be able to launch it from the menu by way of a listing for a previous version.)<\/li><li>Select <blockquote>Tools |&nbsp;Options&#8230; |&nbsp;OpenOffice.org |&nbsp;Java |&nbsp;Use&nbsp;a&nbsp;Java&nbsp;runtime&nbsp;environment<\/blockquote><\/li><li>Choose one of the environments that is then listed.<\/li><li>Click the <q>OK<\/q> button.<\/li><li>Shut-down OpenOffice. (The change will be in effect upon next launch.)<\/li><\/ul><\/p><\/li><\/ol> <p><span style=\"font-weight: bolder ;\"><abbr title=\"nota bene\">NB<\/abbr>:<\/span> This entry was editted on 2009:09\/13, to make it compatible with OpenOffice version 3.1.1, and otherwise to improve the instructions.  One of the improvements reflects the discussion in the first two comments to this entry.<\/p>","protected":false},"excerpt":{"rendered":"If you&#8217;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. My suggested procedure for installing OpenOffice 3.1.x under RHEL 5.x is essentially the same, mutatis mutandis, as that for installing OpenOffice 3.0.x: If you don't have a JRE installed, [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[69,4],"tags":[72,139,140,143,142],"class_list":["post-1758","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-public","tag-linux","tag-openoffice","tag-red-hat","tag-redhat","tag-rhel"],"_links":{"self":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/1758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1758"}],"version-history":[{"count":0,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/1758\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}