How to install OpenOffice on CentOS


apache openoffice

OpenOffice.org (OOo), commonly known as OpenOffice, is a discontinued open-source office suite. It was an open-sourced version of the earlier StarOffice, which Sun Microsystems acquired in 1999 for internal use.

Homepage: https://www.openoffice.org/

Step 1: install JRE
How to install Java on CentOS

Step 2: Download RPM
For CentOS 64bits

wget https://jaist.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz

For CentOS 32bits

wget https://jaist.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86_install-rpm_en-US.tar.gz

Result:

[root@tutorialspots ~]# wget https://jaist.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz
--2019-01-06 00:28:25--  https://jaist.dl.sourceforge.net/project/openofficeorg.mirror/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz
Resolving jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting to jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163655877 (156M) [application/x-gzip]
Saving to: ‘Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz’

100%[======================================>] 163,655,877 20.3MB/s   in 18s

2019-01-06 00:28:44 (8.45 MB/s) - ‘Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz’ saved [163655877/163655877]

Step 3: unpack the archive

tar -xvf Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz

Result:

[root@tutorialspots ~]# tar -xvf Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz
en-US/
en-US/RPMS/
en-US/RPMS/openoffice-brand-calc-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-draw-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-impress-4.1.6-9790.x86_64.rpm
en-US/RPMS/desktop-integration/
en-US/RPMS/desktop-integration/openoffice4.1.6-suse-menus-4.1.6-9790.noarch.rpm
en-US/RPMS/desktop-integration/openoffice4.1.6-mandriva-menus-4.1.6-9790.noarch.rpm
en-US/RPMS/desktop-integration/openoffice4.1.6-freedesktop-menus-4.1.6-9790.noarch.rpm
en-US/RPMS/desktop-integration/openoffice4.1.6-redhat-menus-4.1.6-9790.noarch.rpm
en-US/RPMS/openoffice-core01-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-images-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-calc-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-base-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core03-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-res-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core05-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core02-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-writer-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core04-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-writer-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-pyuno-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-impress-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-ogltrans-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-xsltfilter-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-writer-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-draw-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core07-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-graphicfilter-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-core06-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-ure-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-math-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-ooofonts-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-ooolinguistic-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-base-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-gnome-integration-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-onlineupdate-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-calc-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-help-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-draw-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-math-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-brand-en-US-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-impress-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-javafilter-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-math-4.1.6-9790.x86_64.rpm
en-US/RPMS/openoffice-en-US-base-4.1.6-9790.x86_64.rpm
en-US/licenses/
en-US/licenses/LICENSE
en-US/licenses/NOTICE
en-US/readmes/
en-US/readmes/README_en-US.html
en-US/readmes/README_en-US

Step 4:

cd en-US/RPMS

Step 5: Install

su -c 'yum install *.rpm'

Result:

...
  Installing : openoffice-ure-4.1.6-9790.x86_64                            1/41
  Installing : openoffice-core01-4.1.6-9790.x86_64                         2/41
  Installing : openoffice-en-US-4.1.6-9790.x86_64                          3/41
  Installing : openoffice-impress-4.1.6-9790.x86_64                        4/41
  Installing : openoffice-en-US-help-4.1.6-9790.x86_64                     5/41
  Installing : openoffice-en-US-math-4.1.6-9790.x86_64                     6/41
  Installing : openoffice-en-US-res-4.1.6-9790.x86_64                      7/41
  Installing : openoffice-en-US-base-4.1.6-9790.x86_64                     8/41
  Installing : openoffice-en-US-draw-4.1.6-9790.x86_64                     9/41
  Installing : openoffice-en-US-impress-4.1.6-9790.x86_64                 10/41
  Installing : openoffice-en-US-calc-4.1.6-9790.x86_64                    11/41
  Installing : openoffice-en-US-writer-4.1.6-9790.x86_64                  12/41
  Installing : openoffice-math-4.1.6-9790.x86_64                          13/41
  Installing : openoffice-core06-4.1.6-9790.x86_64                        14/41
  Installing : openoffice-writer-4.1.6-9790.x86_64                        15/41
  Installing : openoffice-core07-4.1.6-9790.x86_64                        16/41
  Installing : openoffice-core04-4.1.6-9790.x86_64                        17/41
  Installing : openoffice-core02-4.1.6-9790.x86_64                        18/41
  Installing : openoffice-core05-4.1.6-9790.x86_64                        19/41
  Installing : openoffice-core03-4.1.6-9790.x86_64                        20/41
  Installing : openoffice-calc-4.1.6-9790.x86_64                          21/41
  Installing : openoffice-base-4.1.6-9790.x86_64                          22/41
  Installing : openoffice-draw-4.1.6-9790.x86_64                          23/41
  Installing : openoffice-images-4.1.6-9790.x86_64                        24/41
  Installing : openoffice-4.1.6-9790.x86_64                               25/41
  Installing : openoffice-brand-math-4.1.6-9790.x86_64                    26/41
  Installing : openoffice-brand-impress-4.1.6-9790.x86_64                 27/41
  Installing : openoffice-brand-calc-4.1.6-9790.x86_64                    28/41
  Installing : openoffice-brand-base-4.1.6-9790.x86_64                    29/41
  Installing : openoffice-brand-writer-4.1.6-9790.x86_64                  30/41
  Installing : openoffice-brand-draw-4.1.6-9790.x86_64                    31/41
  Installing : openoffice-brand-en-US-4.1.6-9790.x86_64                   32/41
  Installing : openoffice-ogltrans-4.1.6-9790.x86_64                      33/41
  Installing : openoffice-onlineupdate-4.1.6-9790.x86_64                  34/41
  Installing : openoffice-ooolinguistic-4.1.6-9790.x86_64                 35/41
  Installing : openoffice-javafilter-4.1.6-9790.x86_64                    36/41
  Installing : openoffice-graphicfilter-4.1.6-9790.x86_64                 37/41
  Installing : openoffice-gnome-integration-4.1.6-9790.x86_64             38/41
  Installing : openoffice-ooofonts-4.1.6-9790.x86_64                      39/41
  Installing : openoffice-pyuno-4.1.6-9790.x86_64                         40/41
  Installing : openoffice-xsltfilter-4.1.6-9790.x86_64                    41/41
  Verifying  : openoffice-brand-math-4.1.6-9790.x86_64                     1/41
  Verifying  : openoffice-onlineupdate-4.1.6-9790.x86_64                   2/41
  Verifying  : openoffice-brand-impress-4.1.6-9790.x86_64                  3/41
  Verifying  : openoffice-ooolinguistic-4.1.6-9790.x86_64                  4/41
  Verifying  : openoffice-math-4.1.6-9790.x86_64                           5/41
  Verifying  : openoffice-en-US-help-4.1.6-9790.x86_64                     6/41
  Verifying  : openoffice-brand-calc-4.1.6-9790.x86_64                     7/41
  Verifying  : openoffice-core01-4.1.6-9790.x86_64                         8/41
  Verifying  : openoffice-javafilter-4.1.6-9790.x86_64                     9/41
  Verifying  : openoffice-core06-4.1.6-9790.x86_64                        10/41
  Verifying  : openoffice-ogltrans-4.1.6-9790.x86_64                      11/41
  Verifying  : openoffice-writer-4.1.6-9790.x86_64                        12/41
  Verifying  : openoffice-core07-4.1.6-9790.x86_64                        13/41
  Verifying  : openoffice-brand-base-4.1.6-9790.x86_64                    14/41
  Verifying  : openoffice-core04-4.1.6-9790.x86_64                        15/41
  Verifying  : openoffice-core02-4.1.6-9790.x86_64                        16/41
  Verifying  : openoffice-core05-4.1.6-9790.x86_64                        17/41
  Verifying  : openoffice-en-US-math-4.1.6-9790.x86_64                    18/41
  Verifying  : openoffice-core03-4.1.6-9790.x86_64                        19/41
  Verifying  : openoffice-brand-writer-4.1.6-9790.x86_64                  20/41
  Verifying  : openoffice-impress-4.1.6-9790.x86_64                       21/41
  Verifying  : openoffice-ure-4.1.6-9790.x86_64                           22/41
  Verifying  : openoffice-graphicfilter-4.1.6-9790.x86_64                 23/41
  Verifying  : openoffice-en-US-res-4.1.6-9790.x86_64                     24/41
  Verifying  : openoffice-en-US-base-4.1.6-9790.x86_64                    25/41
  Verifying  : openoffice-calc-4.1.6-9790.x86_64                          26/41
  Verifying  : openoffice-en-US-draw-4.1.6-9790.x86_64                    27/41
  Verifying  : openoffice-gnome-integration-4.1.6-9790.x86_64             28/41
  Verifying  : openoffice-ooofonts-4.1.6-9790.x86_64                      29/41
  Verifying  : openoffice-pyuno-4.1.6-9790.x86_64                         30/41
  Verifying  : openoffice-en-US-impress-4.1.6-9790.x86_64                 31/41
  Verifying  : openoffice-en-US-calc-4.1.6-9790.x86_64                    32/41
  Verifying  : openoffice-brand-draw-4.1.6-9790.x86_64                    33/41
  Verifying  : openoffice-base-4.1.6-9790.x86_64                          34/41
  Verifying  : openoffice-en-US-4.1.6-9790.x86_64                         35/41
  Verifying  : openoffice-4.1.6-9790.x86_64                               36/41
  Verifying  : openoffice-en-US-writer-4.1.6-9790.x86_64                  37/41
  Verifying  : openoffice-brand-en-US-4.1.6-9790.x86_64                   38/41
  Verifying  : openoffice-draw-4.1.6-9790.x86_64                          39/41
  Verifying  : openoffice-xsltfilter-4.1.6-9790.x86_64                    40/41
  Verifying  : openoffice-images-4.1.6-9790.x86_64                        41/41

Installed:
  openoffice.x86_64 0:4.1.6-9790
  openoffice-base.x86_64 0:4.1.6-9790
  openoffice-brand-base.x86_64 0:4.1.6-9790
  openoffice-brand-calc.x86_64 0:4.1.6-9790
  openoffice-brand-draw.x86_64 0:4.1.6-9790
  openoffice-brand-en-US.x86_64 0:4.1.6-9790
  openoffice-brand-impress.x86_64 0:4.1.6-9790
  openoffice-brand-math.x86_64 0:4.1.6-9790
  openoffice-brand-writer.x86_64 0:4.1.6-9790
  openoffice-calc.x86_64 0:4.1.6-9790
  openoffice-core01.x86_64 0:4.1.6-9790
  openoffice-core02.x86_64 0:4.1.6-9790
  openoffice-core03.x86_64 0:4.1.6-9790
  openoffice-core04.x86_64 0:4.1.6-9790
  openoffice-core05.x86_64 0:4.1.6-9790
  openoffice-core06.x86_64 0:4.1.6-9790
  openoffice-core07.x86_64 0:4.1.6-9790
  openoffice-draw.x86_64 0:4.1.6-9790
  openoffice-en-US.x86_64 0:4.1.6-9790
  openoffice-en-US-base.x86_64 0:4.1.6-9790
  openoffice-en-US-calc.x86_64 0:4.1.6-9790
  openoffice-en-US-draw.x86_64 0:4.1.6-9790
  openoffice-en-US-help.x86_64 0:4.1.6-9790
  openoffice-en-US-impress.x86_64 0:4.1.6-9790
  openoffice-en-US-math.x86_64 0:4.1.6-9790
  openoffice-en-US-res.x86_64 0:4.1.6-9790
  openoffice-en-US-writer.x86_64 0:4.1.6-9790
  openoffice-gnome-integration.x86_64 0:4.1.6-9790
  openoffice-graphicfilter.x86_64 0:4.1.6-9790
  openoffice-images.x86_64 0:4.1.6-9790
  openoffice-impress.x86_64 0:4.1.6-9790
  openoffice-javafilter.x86_64 0:4.1.6-9790
  openoffice-math.x86_64 0:4.1.6-9790
  openoffice-ogltrans.x86_64 0:4.1.6-9790
  openoffice-onlineupdate.x86_64 0:4.1.6-9790
  openoffice-ooofonts.x86_64 0:4.1.6-9790
  openoffice-ooolinguistic.x86_64 0:4.1.6-9790
  openoffice-pyuno.x86_64 0:4.1.6-9790
  openoffice-ure.x86_64 0:4.1.6-9790
  openoffice-writer.x86_64 0:4.1.6-9790
  openoffice-xsltfilter.x86_64 0:4.1.6-9790

Complete!

Find installed directory

root@tutorialspots ~]# find / -name "soffice"
/opt/openoffice4/program/soffice

Make symlink:

ln -s /opt/openoffice4/program/soffice /usr/bin/soffice

Step 6: Use VNC viewer and use command soffice

CentOS 7: How to Install and Configure VNC server?

LibreOffice

Recent search terms:

  • centos open office

Leave a Reply