Many Fedora Workstation installs already include core LibreOffice apps, but clean reinstalls, minimal systems, and full-suite repairs still need a clear package path. You can install LibreOffice on Fedora with Writer, Calc, Impress, Draw, Base, and Math from Fedora repositories, Flathub, or The Document Foundation’s RPM archive.
For most Fedora desktops, choose the DNF package because it follows Fedora updates and integrates cleanly with the system. Use Flathub when you want app-level Flatpak updates, and treat the direct RPM archive as an advanced manual option when the upstream download page has a release you specifically need.
Install LibreOffice on Fedora Linux
Quick LibreOffice DNF Install Commands for Fedora
The fastest Fedora-native path is to refresh DNF metadata and install the LibreOffice metapackage. Run these commands only if you want Fedora repository packages; skip this quick path if you plan to use Flatpak or the upstream RPM archive instead.
sudo dnf upgrade --refresh
sudo dnf install libreoffice
Choose a LibreOffice Installation Method on Fedora
Pick one installation path unless you intentionally manage separate package families. Mixing Fedora RPMs, upstream versioned RPMs, and Flatpak can leave multiple launchers and profiles that are harder to troubleshoot later.
| Method | Source or Channel | Update Behavior | Best For | Trade-offs |
|---|---|---|---|---|
| DNF package | Fedora repositories | Updated with normal Fedora package updates | Most users, managed desktops, and simple reinstalls | Tracks Fedora packaging cadence instead of a separate upstream installer |
| Flatpak | Verified Flathub app | Updated with Flatpak app and runtime updates | Users who prefer Flathub packaging or app-level updates | Uses Flatpak runtimes and broad desktop/file permissions instead of Fedora RPM integration |
| Direct RPM archive | LibreOffice download page | Manual download and reinstall for each release | Advanced users who need The Document Foundation’s upstream RPMs | Manual maintenance, versioned package names, and more cleanup work |
Install LibreOffice from Fedora Repositories
The Fedora repository package is the cleanest choice for most systems. It uses DNF for installation, updates, dependency handling, and removal.
sudo dnf upgrade --refresh
sudo dnf install libreoffice
Confirm that the LibreOffice launcher resolves and reports a version:
libreoffice --version
LibreOffice 26.2.3.2 620(Build:2)
The exact version can change as Fedora publishes updates. If the command prints a LibreOffice version, the desktop launcher and component launchers are installed.
Install LibreOffice from Flathub on Fedora
Flatpak is already present on Fedora Workstation, but Server, minimal, or custom installs may need the package first. Flathub verifies the LibreOffice app against libreoffice.org, but the current manifest grants broad host filesystem access and Flathub labels the app potentially unsafe. Choose this method for Flathub packaging and separate Flatpak updates, not for stronger isolation than the Fedora RPM package.
sudo dnf install flatpak
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Check that Flathub is available at system scope before installing the app:
flatpak remotes --columns=name,options
fedora system,oci flathub system
Install LibreOffice from Flathub:
sudo flatpak install flathub org.libreoffice.LibreOffice
Verify the installed Flatpak reference rather than launching the GUI from a terminal-only session:
flatpak info --show-ref org.libreoffice.LibreOffice
app/org.libreoffice.LibreOffice/x86_64/stable
Install LibreOffice from the Official RPM Archive
The upstream RPM archive installs versioned package names instead of Fedora’s unversioned libreoffice-* package family. Use this path only when you need the official archive from The Document Foundation; DNF and Flatpak are easier to maintain on normal Fedora systems.
This method uses the Linux x86_64 RPM archive. For Fedora on ARM or aarch64 hardware, use the LibreOffice download page and select Linux Aarch64 (rpm) so the filename and archive directory match your system.
Install the download and archive tools, then resolve the newest stable directory from the official download host. The version lookup uses the curl command in Linux to read the server listing, extracts version-like directory names, and keeps the newest one.
sudo dnf install curl tar gzip
cd ~/Downloads
VERSION=$(curl -fsSL https://download.documentfoundation.org/libreoffice/stable/ | grep -oE 'href="[0-9]+\.[0-9]+\.[0-9]+/' | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -1)
printf 'Latest stable directory: %s\n' "$VERSION"
Download the RPM archive and confirm that the file exists before extracting it:
curl -fLO "https://download.documentfoundation.org/libreoffice/stable/${VERSION}/rpm/x86_64/LibreOffice_${VERSION}_Linux_x86-64_rpm.tar.gz"
test -f "LibreOffice_${VERSION}_Linux_x86-64_rpm.tar.gz" && printf 'Archive ready\n'
Archive ready
The same LibreOffice download directory publishes matching
.ascsignature files for administrators who already validate The Document Foundation release signatures. If you do not maintain a trusted TDF signing key, use the DNF or Flatpak method so package verification stays inside the normal package-manager or store workflow.
Extract the .tar.gz archive and install the RPM files with DNF. For a deeper explanation of this archive format, see the guide to open GZ and TGZ files in Linux.
tar -xzf "LibreOffice_${VERSION}_Linux_x86-64_rpm.tar.gz"
cd LibreOffice_*_Linux_x86-64_rpm/RPMS
sudo dnf install ./*.rpm
Verify the upstream installation through the versioned program path:
/opt/libreoffice*/program/soffice --version
LibreOffice 26.2.3.2 620(Build:2)
Launch LibreOffice on Fedora Linux
LibreOffice needs an active graphical desktop session for normal use. Terminal version checks can run from a shell, but Writer, Calc, Impress, and the Start Center are desktop applications.
Launch LibreOffice from the Terminal
For the Fedora repository package, open the Start Center with the standard launcher:
libreoffice
For the upstream RPM archive, use the versioned program path if the standard launcher is not on your shell path:
/opt/libreoffice*/program/soffice
Open common components directly when you already know which app you need:
libreoffice --writer
libreoffice --calc
libreoffice --impress
libreoffice --draw
libreoffice --math
libreoffice --base
For the Flatpak build, use the application ID:
flatpak run org.libreoffice.LibreOffice
Launch LibreOffice from the Applications Menu
On Fedora Workstation, open Activities, search for LibreOffice, and choose the Start Center or a specific component such as Writer, Calc, or Impress.

Update LibreOffice on Fedora Linux
Update Fedora Repository Packages
Fedora repository installs update through DNF. Refresh metadata and upgrade only matching LibreOffice packages when you do not want to run a full system update at the same time:
sudo dnf upgrade --refresh 'libreoffice-*'
Update the LibreOffice Flatpak
Flatpak installs update separately from Fedora RPM packages:
sudo flatpak update org.libreoffice.LibreOffice
Update the Direct RPM Archive Install
Direct RPM archive installs do not receive Fedora repository updates. Repeat the official RPM archive download and install steps when a newer version appears, then verify the active version with /opt/libreoffice*/program/soffice --version.
Remove LibreOffice from Fedora Linux
Remove Fedora Repository Packages
Remove Fedora-packaged LibreOffice components with DNF. Review the transaction before confirming because other packages that depend on LibreOffice, such as document conversion helpers, may also be listed.
sudo dnf remove libreoffice 'libreoffice-*'
Check for remaining Fedora LibreOffice RPMs:
rpm -qa libreoffice 'libreoffice-*' | sort
No output means Fedora-packaged LibreOffice RPMs are no longer installed.
Remove Direct LibreOffice RPM Archive Packages
The upstream RPM archive uses versioned package names. List them first so you can confirm the branch installed on your system:
rpm -qa 'libreoffice[0-9]*' 'libobasis[0-9]*' | sort
Remove the versioned upstream packages with matching globs:
sudo dnf remove 'libreoffice[0-9]*' 'libobasis[0-9]*'
Run the package query again after removal. No output means the versioned upstream RPM packages are gone.
rpm -qa 'libreoffice[0-9]*' 'libobasis[0-9]*' | sort
Remove the LibreOffice Flatpak
Remove the system-scope Flatpak when you no longer need the Flathub build:
sudo flatpak uninstall org.libreoffice.LibreOffice
Confirm that the application ID is gone from the system installation:
flatpak list --system --app --columns=application | grep -Fx org.libreoffice.LibreOffice || echo "NOT_INSTALLED"
NOT_INSTALLED
Optionally remove Flatpak runtimes that no remaining apps use. Review the list before confirming, since other Flatpak apps may share runtimes.
sudo flatpak uninstall --unused
Delete LibreOffice User Data
LibreOffice profiles can contain custom templates, dictionaries, extensions, recent-file state, and application settings. Deleting these paths permanently removes native and Flatpak profile data for the current Linux account, so back up anything you want to keep first.
rm -rf ~/.config/libreoffice
rm -rf ~/.var/app/org.libreoffice.LibreOffice
Troubleshoot LibreOffice on Fedora Linux
Flathub Is Disabled or Missing on Fedora
A disabled or missing Flathub remote can stop the Flatpak install before it reaches the package selection step.
error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub'
Check the configured remotes:
flatpak remotes --columns=name,options
If Flathub exists but is disabled, enable it again:
sudo flatpak remote-modify --enable flathub
If Flathub is missing, add it back at system scope:
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
LibreOffice Command Is Missing After a Direct RPM Install
The upstream RPM archive can expose a versioned launcher instead of the same unversioned command used by Fedora packages. Check both the shell launcher and the upstream program path:
command -v libreoffice || true
for path in /opt/libreoffice*/program/soffice; do
[ -e "$path" ] && printf '%s\n' "$path"
done
rpm -qa 'libreoffice[0-9]*-freedesktop-menus' | sort
If the loop prints a /opt/libreoffice... path but command -v libreoffice prints nothing, launch the upstream build with the full soffice path or use the desktop menu entry installed by the versioned freedesktop-menus package.
DNF Removal Wants to Remove Extra Packages
DNF can list packages that depend on LibreOffice or unused dependencies that were installed with it. Review the transaction summary before confirming removal, especially on desktops where another tool uses LibreOffice for document conversion.
sudo dnf remove libreoffice 'libreoffice-*'
Cancel the transaction if the package list includes software you still need, then remove only the specific LibreOffice components you intended to uninstall.
Conclusion
LibreOffice is now installed on Fedora through the package family that fits your maintenance style: DNF for Fedora-managed updates, Flatpak for the verified Flathub build, or the direct RPM archive for manual upstream releases. For better Microsoft Office document compatibility, install Microsoft fonts on Fedora. If you are comparing desktop office suites, install ONLYOFFICE on Fedora or install WPS Office on Fedora as next-step alternatives.


Formatting tips for your comment
You can use basic HTML to format your comment. Useful tags currently allowed in published comments:
<code>command</code>command<strong>bold</strong><em>italic</em><blockquote>quote</blockquote>