在 CentOS 上安装 LibreOffice 所需空间,一般可以按下面这个经验值来估算:
如果系统已经装过 GNOME / 桌面环境或 Java,依赖会少很多。
sudo yum install libreoffice
从官网下载:
LibreOffice_xx_Linux_x86-64_rpm.tar.gz
flatpak install flathub org.libreoffice.LibreOffice
如果你是在 CentOS Server 上装 LibreOffice(例如用于文档转换):
sudo yum install libreoffice-core libreoffice-writer libreoffice-calc
libreoffice-gnome、libreoffice-impress| 使用场景 | 建议剩余空间 |
|---|---|
| 桌面使用 | ≥ 3 GB |
| 服务器转换 | ≥ 2 GB |
| Docker / 容器 | ≥ 1.5 GB |
df -h
如果你愿意,可以告诉我:
我可以给你一个最省空间的安装方案。