- 官方网站上下载合适的版本,本文采用【 Linux 64-bit (x86-64) (RPM) 】版本

2.将下载后的安装包导入Linux系统。

3.解压安装包,解压命令: tar -zxvf Apache_OpenOffice_4.1.3_Linux_x86-64_install-rpm_zh-CN .tar.gz

4.进入解压目录zh-CN/RPMS/
,命令:cd zh-CN/RPMS/

5.执行安装命令,安装命令: rpm -ivh *.rpm

6.进入openOffice安装目录,命令:cd /opt/openoffice4/program/

7.开启openOffice服务,命令:
./soffice -headless -accept="socket,host=127.0.0.1,port=8100:urp;"
-nofirststartwizard &
表示在本地开启openOffice服务,端口为8100
。

8.关闭openOffice服务,命令:ps -ef|grep soffice

网友评论