Linux 下 LibreOffice 更新指南
先确认安装来源与当前版本
libreoffice --versionapt list --installed | grep libreoffice 或 yum list installed | grep libreofficeflatpak list | grep org.libreoffice.libreofficesnap list | grep libreoffice按安装方式选择更新方法
sudo apt update && sudo apt upgrade libreofficesudo apt install libreofficesudo yum update libreoffice(或 sudo dnf update libreoffice)sudo yum install libreofficetar -zxvf LibreOffice_版本号_Linux_x86-64_rpm.tar.gz
cd LibreOffice_版本号_Linux_x86-64_rpm/RPMS
sudo yum localinstall *.rpm
tar -zxvf LibreOffice_版本号_Linux_x86-64_deb.tar.gz
cd LibreOffice_版本号_Linux_x86-64_deb/DEBS
sudo apt install ./*.deb
flatpak update org.libreoffice.libreofficeflatpak install flathub org.libreoffice.libreofficesudo snap refresh libreofficesudo snap install libreoffice --classiclibreoffice --version 确认。常见问题与处理
sudo cp -r /path/to/your/fonts/* /usr/share/fonts/
sudo chmod -R 644 /usr/share/fonts/*
sudo fc-cache -fv