linux下 Centos系统和Ubuntu(乌班图)系统下安装openoffice,并解决中文乱码
作者:互联网
1.安装openoffice
官网http://www.openoffice.org/zh-cn/download/下载
以下是centos系统:
2.解压并进入文件夹:
tar -xzvf Apache_OpenOffice_4.1.1_Linux_x86_install-rpm_zh-CN.tar.gz
cd /zh-cn/RPMS
yum localinstall *.rpm
cd desktop-integration
rpm -ivh openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm
3.启动(cd到目录/opt/openoffice4/program/下执行以下命令)
/opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard 临时启动
nohup /opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard & 后台启动
注:若启动报错:no suitable windowing syste
标签:opt,zh,Centos,乌班图,cd,乱码,program,openoffice4,rpm 来源: https://blog.csdn.net/weixin_47385625/article/details/114268585