Linux: Installing OpenOffice On CentOS5

April 9th, 2009 by jeremychone

Steps:

  1. Download OpenOffice (Linux RPM)
  2. Copy the .gz file to /tmp/
  3. Unpack: tar -zxvf OOo_3.0.0_LinuxX86-64_install_en-US.tar.gz
  4. Check if you have already an OpenOffice installed
    > rpm -qa | grep office
    openoffice.org-writer-2.0.4-5.4.17.1
    openoffice.org-core-2.0.4-5.4.17.1
    openoffice.org-calc-2.0.4-5.4.17.1
    openoffice.org-draw-2.0.4-5.4.17.1
    openoffice.org-impress-2.0.4-5.4.17.1
    openoffice.org-math-2.0.4-5.4.17.1
    openoffice.org-xsltfilter-2.0.4-5.4.17.1
    openoffice.org-graphicfilter-2.0.4-5.4.17.1
  5. If yes, uninstall all rpms with:
    rpm -e openoffice.org-writer-2.0.4-5.4.17.1
    rpm -e openoffice.org-calc-2.0.4-5.4.17.1
    rpm -e openoffice.org-draw-2.0.4-5.4.17.1
    rpm -e openoffice.org-impress-2.0.4-5.4.17.1
    rpm -e openoffice.org-math-2.0.4-5.4.17.1
    rpm -e openoffice.org-xsltfilter-2.0.4-5.4.17.1
    rpm -e openoffice.org-graphicfilter-2.0.4-5.4.17.1
    rpm -e openoffice.org-core-2.0.4-5.4.17.1

    Note: remove the ..-core.. last

  6. go to the RPMS/
    cd /tmp/OOO300_m9_native_packed-1_en-US.9358/RPMS/
  7. Install all RPMs (in the /opt/ directory
    > rpm -ivh *.rpm

    or in a specific directory

    > rpm -ivh –prefix /mycoolerdir/ *.rpm
  8. You should see something like: (probably in bigger font)
    Preparing… ########################################### [100%]
    1:openoffice.org-ure ########################################### [ 2%]
    2:ooobasis3.0-core01 ########################################### [ 4%]
    3:ooobasis3.0-en-US ########################################### [ 6%]
    4:ooobasis3.0-core02 ########################################### [ 9%]
    5:ooobasis3.0-core03 ########################################### [ 11%]
    6:ooobasis3.0-core04 ########################################### [ 13%]
    7:ooobasis3.0-core05 ########################################### [ 15%]
    8:ooobasis3.0-core06 ########################################### [ 17%]
    9:ooobasis3.0-core07 ########################################### [ 19%]
    10:ooobasis3.0-calc ########################################### [ 21%]
    11:ooobasis3.0-draw ########################################### [ 23%]
    12:ooobasis3.0-impress ########################################### [ 26%]
    13:ooobasis3.0-math ########################################### [ 28%]
    14:ooobasis3.0-writer ########################################### [ 30%]
    15:ooobasis3.0-en-US-base ########################################### [ 32%]
    16:ooobasis3.0-en-US-binfi########################################### [ 34%]
    17:ooobasis3.0-en-US-calc ########################################### [ 36%]
    18:ooobasis3.0-en-US-draw ########################################### [ 38%]
    19:ooobasis3.0-en-US-help ########################################### [ 40%]
    20:ooobasis3.0-en-US-impre########################################### [ 43%]
    21:ooobasis3.0-en-US-math ########################################### [ 45%]
    22:ooobasis3.0-en-US-res ########################################### [ 47%]
    23:ooobasis3.0-en-US-write########################################### [ 49%]
    24:ooobasis3.0-base ########################################### [ 51%]
    ….
  9. The programs are under [your_office_location]/openoffice.org3/program

See Also:

Leave a Reply