{"id":803,"date":"2008-10-20T02:37:53","date_gmt":"2008-10-20T10:37:53","guid":{"rendered":"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=803"},"modified":"2010-03-16T11:53:12","modified_gmt":"2010-03-16T19:53:12","slug":"installing-openoffice-30x-under-red-hat-enterprise-linux-5x","status":"publish","type":"post","link":"https:\/\/www.oeconomist.com\/blogs\/daniel\/?p=803","title":{"rendered":"Installing OpenOffice 3.0.x under Red Hat Enterprise Linux 5.x"},"content":{"rendered":"<p style=\"text-align: center ; font-weight: bolder ;\">If you&#39;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>Here's my suggested procedure for installing <a href=\"http:\/\/www.openoffice.org\/\">OpenOffice<\/a> 3.0.x under <abbr title=\"Red Hat Enterprise Linux\">RHEL<\/abbr> 5.x:<\/p> <ol><li><p>If you don't have a <abbr title=\"Java Runtime Environment\">JRE<\/abbr> installed, then install one.  OpenOffice 3.0.0 is being distributed with <abbr title=\"Java Runtime Environment\">JRE<\/abbr> 1.6.0 update 7; Sun is already at <a href=\"https:\/\/cds.sun.com\/is-bin\/INTERSHOP.enfinity\/WFS\/CDS-CDS_Developer-Site\/en_US\/-\/USD\/ViewProductDetail-Start?ProductRef=jre-6u10-oth-JPR@CDS-CDS_Developer\">update 10<\/a>. (I suggest that one use <code>jdk-6u10-linux-<\/code><span style=\"font-style:italic ;\">xxx<\/span><code><strong>-rpm<\/strong>.bin<\/code>, rather than <code>jre-6u10-linux-<\/code><span style=\"font-style:italic ;\">xxx<\/span><code>.bin<\/code>.) The remainder of these instructions assume that one has a <abbr title=\"Java Runtime Environment\">JRE<\/abbr> installed.<\/p><\/li><li>\r\n<p>Remove any earlier installation of OpenOffice.  As root, enter these two commands:<br \/>\r\n<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>\r\n<\/li><li><p>Unpack <a href=\"http:\/\/openoffice.bouncer.osuosl.org\/?product=OpenOffice.org&os=linuxintelwjre&lang=en-US&version=3.0.0\">OOo_3.0.0_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>OOO300_m9_native_packed-1_en-US.<var>xxxx<\/var>\/<strong>RPMS<\/strong>\/<\/code> (or to the <code>OOO300_m9_native_packed-1_<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 will need to log-out and back-in for the Applications menu to be up-dated and list the OpenOffice components.)<\/p><\/li><li><p>As root, run <blockquote style=\"width: 91% ; overflow: auto ; white-space: nowrap ;\"><code>rpm -U 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: 91% ; overflow: auto ; white-space: nowrap ;\"><code>\/usr\/bin\/openoffice.org3<\/code><\/blockquote> (It will not be listed on the applications menu unless you have logged-out and back-in.)<\/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>There do not appear to be any issues with <abbr title=\"Security-Enhanced\">SE<\/abbr>Linux this time.  I didn't have to use <a href=\"http:\/\/www.linuxcommand.org\/man_pages\/chcon1.html\"><code>chcon<\/code><\/a> on anything to get OpenOffice working.<\/p> <p><span style=\"font-weight: bolder ;\"><abbr title=\"nota bene\">NB<\/abbr>:<\/span> This post was edited on 2009:09\/13, to improve the procedure, though most readers should not be installing version 3.0.<var>x<\/var>, as version 3.1.1 is available.<\/p>","protected":false},"excerpt":{"rendered":"If you&#39;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. Here's my suggested procedure for installing OpenOffice 3.0.x under RHEL 5.x: If you don't have a JRE installed, then install one. OpenOffice 3.0.0 is being distributed with JRE 1.6.0 [&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,141],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-public","tag-linux","tag-openoffice","tag-red-hat","tag-redhat","tag-rhel","tag-selinux"],"_links":{"self":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/803","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=803"}],"version-history":[{"count":0,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/803\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}