About OpenOffice for Linux

Recently, I have done openoffice Linux related work. Sum up the installation process and problems of openoffice

1. Download

You can go to the official website http://www.openoffice.org/ to download the corresponding version of OpenOffice. I downloaded Linux x86-64 version 4.1.4.

2. Installation

Install java first, then enter the installation file location and extract the installation package
tar zxvf Apache_OpenOffice_4.1.4_Linux_x86-64_install-rpm_zh-CN.tar.gz 
cd zh-CN/RPMS/
rpm -ivh *.rpm
Wait for all packages to be installed
Preparing...                          ################################# [100%]
Updating / installing...
   1:openoffice-ure-4.1.4-9788        ################################# [  2%]
   2:openoffice-core01-4.1.4-9788     ################################# [  5%]
   3:openoffice-zh-CN-4.1.4-9788      ################################# [  7%]
   4:openoffice-impress-4.1.4-9788    ################################# [ 10%]
   5:openoffice-zh-CN-base-4.1.4-9788 ################################# [ 12%]
   6:openoffice-zh-CN-calc-4.1.4-9788 ################################# [ 15%]
   7:openoffice-zh-CN-draw-4.1.4-9788 ################################# [ 17%]
   8:openoffice-zh-CN-help-4.1.4-9788 ################################# [ 20%]
   9:openoffice-zh-CN-impress-4.1.4-97################################# [ 22%]
  10:openoffice-zh-CN-math-4.1.4-9788 ################################# [ 24%]
  11:openoffice-zh-CN-res-4.1.4-9788  ################################# [ 27%]
  12:openoffice-zh-CN-writer-4.1.4-978################################# [ 29%]
  13:openoffice-base-4.1.4-9788       ################################# [ 32%]
  14:openoffice-calc-4.1.4-9788       ################################# [ 34%]
  15:openoffice-core02-4.1.4-9788     ################################# [ 37%]
  16:openoffice-core03-4.1.4-9788     ################################# [ 39%]
  17:openoffice-core04-4.1.4-9788     ################################# [ 41%]
  18:openoffice-core05-4.1.4-9788     ################################# [ 44%]
  19:openoffice-core06-4.1.4-9788     ################################# [ 46%]
  20:openoffice-core07-4.1.4-9788     ################################# [ 49%]
  21:openoffice-draw-4.1.4-9788       ################################# [ 51%]
  22:openoffice-images-4.1.4-9788     ################################# [ 54%]
  23:openoffice-4.1.4-9788            ################################# [ 56%]
  24:openoffice-math-4.1.4-9788       ################################# [ 59%]
  25:openoffice-writer-4.1.4-9788     ################################# [ 61%]
  26:openoffice-brand-writer-4.1.4-978################################# [ 63%]
  27:openoffice-brand-math-4.1.4-9788 ################################# [ 66%]
  28:openoffice-brand-base-4.1.4-9788 ################################# [ 68%]
  29:openoffice-brand-calc-4.1.4-9788 ################################# [ 71%]
  30:openoffice-brand-draw-4.1.4-9788 ################################# [ 73%]
  31:openoffice-brand-impress-4.1.4-97################################# [ 76%]
  32:openoffice-brand-zh-CN-4.1.4-9788################################# [ 78%]
  33:openoffice-ogltrans-4.1.4-9788   ################################# [ 80%]
  34:openoffice-gnome-integration-4.1.################################# [ 83%]
  35:openoffice-graphicfilter-4.1.4-97################################# [ 85%]
  36:openoffice-javafilter-4.1.4-9788 ################################# [ 88%]
  37:openoffice-onlineupdate-4.1.4-978################################# [ 90%]
  38:openoffice-ooofonts-4.1.4-9788   ################################# [ 93%]
  39:openoffice-ooolinguistic-4.1.4-97################################# [ 95%]
  40:openoffice-pyuno-4.1.4-9788      ################################# [ 98%]
  41:openoffice-xsltfilter-4.1.4-9788 ################################# [100%]
After installation, enter desktop integration to install another part of the installation package
cd desktop-integration/
rpm -ivh openoffice4.1.4-redhat-menus-4.1.4-9788.noarch.rpm 

3. Open service

The default installation location is: / opt/openoffice4
cd /opt/openoffice4/program/
soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofiertstartwizard &

4. Problems encountered

Encountered while opening service
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
This is because the library file is missing. Check whether there is a libXext.so.6 file under / usr/lib64 /, or / usr/lib /. If so, copy it
 If not, copy after installation
yum -y install libXext.x86
cp /usr/lib64/libXext.so.6 /opt/openoffice4/program/
Re open service encountered
/opt/openoffice4/program/soffice.bin: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
Ditto
yum -y install freetype
Open the service again, encounter
no suitable windowing system found, exiting.
Anzar un dependent environment
yum -y groupinstall "X Window System"
Open service again, successful

Tags: RPM yum Linux Java

Posted on Sun, 03 May 2020 14:13:34 -0400 by cassius