Skip to content

LibreOffice

安装部署

RHEL

解压缩

bash
tar zxvf LibreOffice_7.6.0_Linux_x86-64_rpm.tar.gz
tar zxvf LibreOffice_7.6.0_Linux_x86-64_rpm_langpack_zh-CN.tar.gz

安装

bash
yum install -y ./LibreOffice_7.6.0.3_Linux_x86-64_rpm/RPMS/*.rpm
yum install -y ./LibreOffice_7.6.0.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/*.rpm

检查是否安装成功

bash
ldd /opt/libreoffice7.6/program/soffice.bin

如果有依赖缺失,那补充安装依赖项并重新检查

bash
yum install -y cairo
yum install -y libSM
yum install -y ibus
yum install -y libX11-xcb

新建软连接,以支持 JodConverter。

bash
ln -s /opt/libreoffice7.6 /opt/libreoffice

卸载

bash
yum erase libreoffice\*