yum install -y cairo cairo-devel poppler-glib. x86_64 poppler-glib-devel.x86_64
wget https://github.com/dawbarton/pdf2svg/archive/v0.2.3.tar.gz
tar -zxf vo.2.3.tar.gz
cd pdf2svg-0.2.3
./configure
make
make install
#安装Java
yum install java
#下载安装包(安装时版本不存在时需要访问
https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/根据版本适当修改)
cd /tmp
wget
-c
https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/7.5.9/rpm/x86_64/
Libre0ffice_7.5.9_Linux_x86-64_rpm.tar.gz
wget
-C
https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/7.5.9/rpm/x86_64/
Libre0ffice_7. 5. 9_Linux_x86-64_rpm_langpack_zh-CN. tar. gz
#解压RPM包
tar zxvf Libre0ffice_7.5.9_Linux_x86-64_rpm. tar. gz
tar zxvf Libre0ffice_7.5.9_Linux_x86-64_rpm_langpack_zh-CN.tar.gz
#安装RPM包
yum install -y ./Libre0ffice_7.5.9.2_Linux_x86-64_rpm/RPMS/*.rpm
yum install1 -y ./Libre0ffice_7.5.9.2_Linux_x86-64_rpm_langpack_zh-CN/RPMS/*.rpm
/opt/1ibreoffice7.5/program/soffice
CentOS