LibreOffice Logo LibreOffice CN·蓝图

Install Guide

LibreOffice 24.8.4 安装教程

PROCEDURE DOC · REV A · 2026-06-09

尚未下载?

请先前往下载中心获取对应平台安装包。

↓ 下载 LibreOffice 24.8.4

Windows Procedure

Windows — MSI 安装(推荐企业部署)

下载中心 或内网镜像获取 LibreOffice_24.8.4_Win_x86-64.msi(348 MB)。部署前校验 SHA256:a3f8c2e1b9d04f7a6c8e2d5b1a9f3c7e8d2b4a6f1c9e3d7b5a2f8c4e1d9b3a7f

图形界面安装:双击 MSI,按向导完成。默认路径 C:\Program Files\LibreOffice\,程序目录 program\soffice.exe。若需与 MS Office 共存,安装时勾选「不注册 Microsoft Office 文件类型」或静默参数 REGISTER_NO_MSO_TYPES=1

静默安装(管理员 CMD / PowerShell)— 200 席位标准参数:

msiexec /i LibreOffice_24.8.4_Win_x86-64.msi /qn /norestart
msiexec /i LibreOffice_24.8.4_Win_x86-64.msi /qn ALLUSERS=1 CREATEDESKTOPLINK=0 REGISTER_NO_MSO_TYPES=1
msiexec /i LibreOffice_24.8.4_Win_x86-64.msi /qn INSTALLLOCATION="D:\Apps\LibreOffice" /log C:\Windows\Temp\LOInstall.log

SCCM Application 配置:Install Program 为上述 msiexec 命令;Detection Method 选择「文件系统」— 路径 C:\Program Files\LibreOffice\program\soffice.exe,属性 File Version 等于 24.8.4.2。部署集合建议先 Pilot(20 台)再 Production(180 台)。

Intune Win32 App:使用 Microsoft Win32 Content Prep Tool 将 MSI 封装为 .intunewin;Install command 同上;Detection rule 为 MSI ProductCode 或文件版本。Requirement:Windows 10 21H2+ 64-bit。

验证安装:"C:\Program Files\LibreOffice\program\soffice.exe" --version 应输出 LibreOffice 24.8.4.2 40(Build:2)。注册表确认:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{681C8B82-4D83-412B-8FEA-CD4191626ECE}\DisplayVersion

Windows MSIX

Windows — MSIX 按用户安装

下载 LibreOffice_24.8.4_Win_x86-64.msix(286 MB),SHA256 示例 f2e8d4b7a1c9f6e3d5b2a8c4e1d9b3a7f6c8e2d5b1a9f3c7e8d2b4a6f1c9e3d7b5a2。无需本地管理员权限,适合受限桌面环境。

双击 MSIX 或通过 PowerShell 安装(Per-User 范围):

Add-AppxPackage -Path .\LibreOffice_24.8.4_Win_x86-64.msix
Get-AppxPackage *LibreOffice*

安装路径:%LOCALAPPDATA%\Programs\LibreOffice\,可执行文件 program\soffice.exe。用户配置位于 %APPDATA%\LibreOffice\4\。卸载:Remove-AppxPackage -Package (Get-AppxPackage *LibreOffice*).PackageFullName

注意:MSIX 不参与 SCCM 传统软件分发,Intune 可通过 MSIX 直传部署。MSIX 与已安装的 MSI 版可共存于同一机器(不同用户上下文),但同一用户不建议重复安装。

Linux Procedure

Linux — deb 包安装(Ubuntu / Debian)

下载 LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz(252 MB,T+6h 上线)并校验 SHA256 后解压:

wget https://download.documentfoundation.org/libreoffice/stable/24.8.4/deb/x86_64/LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz
sha256sum LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz
tar -xvf LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz
cd LibreOffice_24.8.4.2_Linux_x86-64_deb/DEBS

安装所有 deb 包(含 libobasis24.8、libreoffice24.8 等 30+ 子包):

sudo dpkg -i *.deb
sudo apt-get install -f

启动与验证:libreoffice24.8 --version/opt/libreoffice24.8/program/soffice --version。桌面快捷方式由 libreoffice24.8-debian-menus 包写入 /usr/share/applications/

卸载:sudo apt remove 'libreoffice24.8*' 'libobasis24.8*'。用户配置保留于 ~/.config/libreoffice/4/

Linux Flatpak

Linux — Flatpak 安装

确保已安装 Flatpak 并添加 Flathub 源(Ubuntu 22.04+ / Fedora 需先 sudo apt install flatpaksudo dnf install flatpak):

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-ls flathub | grep -i libreoffice

安装 LibreOffice Flatpak(App ID:org.libreoffice.LibreOffice,约 318 MB,Flathub 通常 T+1~3d 更新):

flatpak install flathub org.libreoffice.LibreOffice
flatpak run org.libreoffice.LibreOffice
flatpak info org.libreoffice.LibreOffice

沙箱路径:应用 ~/.local/share/flatpak/app/org.libreoffice.LibreOffice/,用户数据 ~/.var/app/org.libreoffice.LibreOffice/。系统级安装:flatpak install --system flathub org.libreoffice.LibreOffice。更新:flatpak update org.libreoffice.LibreOffice

macOS Procedure

macOS — DMG 安装

下载 LibreOffice_24.8.4_MacOS_x86-64.dmg(412 MB,Universal Binary arm64+x86_64)。SHA256:c5d1a8f3e2b07c94a6f8d3e1b9c7a4f2e8d5b1a3c9f6e2d7b4a8c1f5e3d9b6a2c7f4e8

双击 DMG 挂载,将 LibreOffice.app 拖入 /Applications/。Jamf/MDM 环境可脚本化:cp -R /Volumes/LibreOffice/LibreOffice.app /Applications/

首次运行前清除 Gatekeeper quarantine 属性(浏览器下载必做):

xattr -cr /Applications/LibreOffice.app
xattr -l /Applications/LibreOffice.app  # 确认无 com.apple.quarantine
/Applications/LibreOffice.app/Contents/MacOS/soffice --version

签名验证:spctl --assess --type execute -v /Applications/LibreOffice.app 应返回 acceptedcodesign -dv /Applications/LibreOffice.app 显示 TeamIdentifier 为 TDF 签名。

若仍被阻止:系统设置 → 隐私与安全性 → 「仍要打开」。Apple Silicon 验证原生架构:file /Applications/LibreOffice.app/Contents/MacOS/soffice 应含 arm64。

Defender Exclusions

Windows Defender 排除策略

LibreOffice 首次启动会加载 share\fonts\share\registry\ 下大量文件,Defender 实时扫描可导致 15–30 秒延迟。200 席位环境建议经 GPO 或 Intune 下发:

Add-MpPreference -ExclusionPath "C:\Program Files\LibreOffice"
Add-MpPreference -ExclusionProcess "soffice.exe"
Add-MpPreference -ExclusionProcess "soffice.bin"
Add-MpPreference -ExclusionPath "$env:APPDATA\LibreOffice"

Intune:Endpoint security → Antivirus → Exclusions → Path/Process 添加上述项。安全团队需评估:LibreOffice 非网络服务,排除风险可控。

FAQ

常见问题

Q: 能否与 Microsoft Office 共存?
可以。LibreOffice 与 Office 365/2021 同机无冲突。安装 MSI 时使用 REGISTER_NO_MSO_TYPES=1 保留 Office 对 .docx/.xlsx/.pptx 的默认关联。用户可在「设置 → 默认应用」中按文件类型分别指定。Calc 可打开 Excel 文件,复杂 VBA 宏可能无法运行。

Q: Linux 选 deb 还是 Flatpak?
Ubuntu/Debian 且需 T+6h 最新版 → deb;非标准发行版、需沙箱隔离、或 Flatpak 为唯一包管理器 → Flatpak(org.libreoffice.LibreOffice)。企业 200 台 Ubuntu 批量部署优先 deb + Ansible。详见 发布时间对比

Q: 如何卸载?
Windows MSI: 控制面板或 msiexec /x {681C8B82-4D83-412B-8FEA-CD4191626ECE} /qn · MSIX: Remove-AppxPackage · Linux deb: sudo apt remove 'libreoffice24.8*' · Flatpak: flatpak uninstall org.libreoffice.LibreOffice · macOS: 删除 /Applications/LibreOffice.app,配置留于 ~/Library/Application Support/LibreOffice/

Q: 200 席位 SCCM 推送失败怎么排查?
检查 C:\Windows\Temp\LOInstall.log(若安装命令含 /log);确认目标机为 64 位;验证 Detection Method 路径与版本号;排除旧版 LibreOffice 7.x 未卸载导致的升级冲突。

↓ 获取安装包

LibreOffice 24.8.4 全平台官方构建,免费开源。

↓ 前往下载中心