第一步:獲取rpm,地址:http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/6.4.6/rpm/x86_64/
第二步:下載下圖中的三個安裝包
第三步:新建libreoffice目錄
mkdir /usr/local/libreoffice
第四步:上傳至此文件夾,執行解壓
tar -zxvf LibreOffice_6.4.6.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz
tar -zxvf LibreOffice_6.4.6.2_Linux_x86-64_rpm_sdk.tar.gz
tar -zxvf LibreOffice_6.4.6.2_Linux_x86-64_rpm.tar.gz
第五步:進入LibreOffice_6.4.6.2_Linux_x86-64_rpm下的RPMS目錄執行安裝,切記要用yum執行本地安裝
yum localinstall *.rpm
第六步:安裝完成測試
/opt/libreoffice6.4/program/soffice --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard &