Linux 安装libreoffice

工作繁忙,暂未排版

软件
wget http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/6.0.7/rpm/x86_64/LibreOffice_6.0.7_Linux_x86-64_rpm.tar.gz

语言包
wget http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/6.0.7/rpm/x86_64/LibreOffice_6.0.7_Linux_x86-64_rpm_langpack_zh-CN.tar.gz

tar -xvf LibreOffice_6.0.7_Linux_x86-64_rpm.tar.gz
tar -xvf LibreOffice_6.0.7_Linux_x86-64_rpm_langpack_zh-CN.tar.gz

安装
进入RPMS yum install *.rpm

依赖库
安装依赖库 yum install ibus

进入RPMS
切换到root 权限,执行 rpm -ivh *.rpm或rpm -ivh lib*

/bin/libreoffice6.0 --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard

(以下未使用)

卸载

yum erase libreoffice*
或yum remove openoffice.org* libreoffice.org*
或yum remove libreoffice.org*

rpm -qa|grep libreoffice查询安装软件

如果出现中文乱码,直接复制windows全部字体,粘贴到usr/share/fonts下
如果存在字体缓存,则清除缓存

原文地址:https://www.cnblogs.com/chenss15060100790/p/10025142.html