
If you recently set up a fresh Ubuntu 26.04 LTS server or minimal desktop image, you probably noticed LibreOffice is nowhere to be found. That is not a bug. Ubuntu only bundles LibreOffice with the standard Desktop ISO, leaving server builds, cloud VMs, and minimal installs completely bare. This guide walks you through exactly how to install LibreOffice on Ubuntu 26.04 LTS using three proven methods: the native APT package manager, Flatpak via Flathub, and Snap from the Snapcraft store. By the end, you will have a working LibreOffice setup with Writer, Calc, Impress, Draw, Base, and Math ready to use, plus the knowledge to keep it updated and troubleshoot anything that goes sideways.
Before diving in, it helps to understand what you are actually installing. LibreOffice is a free, open-source office productivity suite developed and maintained by The Document Foundation. It covers six core applications:
- Writer — a full-featured word processor compatible with
.docxand.odt - Calc — a spreadsheet tool with
.xlsxsupport and advanced formula handling - Impress — presentation software compatible with
.pptx - Draw — a vector graphics and diagramming tool
- Base — a database front-end that connects to local and remote databases
- Math — a formula editor for academic and technical documents
LibreOffice ships with no licensing cost, no telemetry, and no cloud account requirement. On Linux, it is the go-to productivity suite for organizations, developers, and individual users who want Microsoft Office-level functionality without the subscription model.
One important note before you proceed: Ubuntu 26.04 LTS (codename Resolute) ships LibreOffice version 26.2.2.x through its universe component. The version number follows a calendar-based naming scheme introduced in 2026, where 26.2 means the second release of the year 2026. This is a significant shift from the older 7.x versioning, so do not be alarmed when you see a version number that looks higher than expected.
Prerequisites: What You Need Before You Start
Installing LibreOffice requires a few things to be in place. Skipping any of these is the most common reason installations fail on first attempt.
System requirements:
- Ubuntu 26.04 LTS (Resolute) — clean install or upgraded from 24.04
- A user account with
sudoprivileges - Active internet connection (all three methods pull packages from remote servers)
- At least 1.5 GB of free disk space for a full APT install, or 1.3 GB for Snap
Pre-install check — confirm LibreOffice is not already installed:
libreoffice --version
If this returns a version string, LibreOffice is already present. If it returns command not found, you are clear to proceed with the installation steps below.
Check that your system is on Ubuntu 26.04:
lsb_release -a
Expected output:
Distributor ID: Ubuntu
Description: Ubuntu 26.04 LTS
Release: 26.04
Codename: resolute
Step 1: Choose the Right Installation Method
Not all three methods are equal on Ubuntu 26.04 LTS. Understanding the differences now saves you a lot of headaches later, especially if you are managing a shared workstation or a production server.
| Method | Version on Ubuntu 26.04 | Auto-Updates | Best For |
|---|---|---|---|
| APT (Default) | 26.2.2.x | sudo apt upgrade |
Most users; native Ubuntu path |
| Flatpak (Flathub) | 26.2.1.2 | sudo flatpak update |
Sandboxed builds, cross-LTS consistency |
| Snap (Snapcraft) | 25.8.6.2 | Automatic via snapd | Teams already in the Snap ecosystem |
Critical note: The LibreOffice Fresh PPA (ppa:libreoffice/ppa) does NOT work on Ubuntu 26.04 at the time of writing. The PPA has no resolute Release file, and adding it will break apt update with an error. Stick to APT default, Flatpak, or Snap on Ubuntu 26.04.
Recommendation: If you are on a fresh Ubuntu 26.04 system, start with Method 1 (APT). It gives you the highest version (26.2.2.x), integrates natively with Ubuntu’s package manager, and requires zero additional tooling.
Step 2: Update Your System and Package Index
Regardless of which method you choose, refreshing your package index first is not optional. It is a professional habit that prevents you from accidentally installing outdated or unavailable packages.
Update the APT Package Index
sudo apt update
What this does: APT stores package metadata in a local cache on your system. The apt update command contacts Ubuntu’s servers and refreshes that cache to reflect the current state of all enabled repositories. Without this step, APT works from stale data and may fail to find the latest LibreOffice package or its dependencies.
Expected output:
Hit:1 http://archive.ubuntu.com/ubuntu resolute InRelease
Get:2 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [109 kB]
...
Fetched 3,401 kB in 4s (850 kB/s)
Reading package lists... Done
While you are here, it is also good practice to apply any pending system updates before adding new software:
sudo apt upgrade -y
Why: Installing LibreOffice on top of a system with unresolved package conflicts can create dependency errors that are frustrating to untangle after the fact. A clean upgrade state avoids that entirely.
Step 3: Install LibreOffice via APT (Recommended Method)
This is the cleanest path for the vast majority of Ubuntu 26.04 users. The APT method installs a distro-maintained build, integrates with Ubuntu’s update system, and has no additional runtime overhead.
Enable the Universe Repository
On a minimal or server install, Ubuntu’s universe component is often disabled by default. LibreOffice lives in universe, not in main.
sudo add-apt-repository universe -y
sudo apt update
Why this matters: Ubuntu organizes its repositories into components. The main component contains software that Canonical actively maintains with security patches. The universe component holds community-maintained packages like LibreOffice. On a headless server image, universe is deliberately disabled to keep the attack surface small. Without enabling it, running sudo apt install libreoffice will return Candidate: (none) and go nowhere.
Install the LibreOffice Metapackage
sudo apt install libreoffice -y
What this does: The libreoffice metapackage is not a single application file. It is a dependency declaration that instructs APT to pull in Writer, Calc, Impress, Draw, Base, Math, and default-jre (Java Runtime Environment) all at once. The -y flag auto-confirms the download prompt so you do not have to sit and watch the terminal.
Why the metapackage approach is better than installing individual apps: If you install only libreoffice-writer and skip the metapackage, you will likely be missing shared libraries, Base functionality, and Java support. The metapackage ensures a complete, working installation on the first attempt.
Expect to download roughly 300–500 MB depending on what is already present on your system.
Verify the APT Installation
libreoffice --version
Expected output:
LibreOffice 26.2.2.2 620(Build:2)
Why verify: On a production system, skipping the version check is a bad habit. It confirms the binary is in your PATH, the package installed without corruption, and you are running the expected build. This also gives you the exact version string needed if you ever open a bug report.
Step 4: Install LibreOffice via Flatpak (Sandboxed Method)
Flatpak is the right choice when you want LibreOffice isolated from the rest of your OS, especially on shared workstations where you need one app’s libraries to not affect another. Ubuntu 26.04 does not ship Flatpak by default, so there is some setup involved.
Install Flatpak and Add the Flathub Remote
sudo apt install flatpak -y
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Why --if-not-exists: This flag makes the command idempotent. If you run it on a system where Flathub is already configured, it silently skips rather than throwing a fatal error. On scripts and automation workflows, that distinction matters.
Verify Flathub Is Active at System Scope
flatpak remotes
Expected output:
Name Options
flathub system
Why check system scope: If Flathub shows as user scope instead of system, the LibreOffice Flatpak will only be available to your current user account. On shared workstations and multi-user servers, that is a problem. System-scope installation makes the app available to every user on the machine.
Install LibreOffice from Flathub
sudo flatpak install flathub org.libreoffice.LibreOffice -y
Verify the Flatpak Installation
flatpak info org.libreoffice.LibreOffice
Expected output:
LibreOffice - The LibreOffice productivity suite
ID: org.libreoffice.LibreOffice
Ref: app/org.libreoffice.LibreOffice/x86_64/stable
Arch: x86_64
Branch: stable
Version: 26.2.1.2
Origin: flathub
Installation: system
To launch LibreOffice as a Flatpak:
flatpak run org.libreoffice.LibreOffice
Step 5: Install LibreOffice via Snap
Snap is the fastest route to a sandboxed build if you are already using snapd on Ubuntu. Standard Ubuntu 26.04 Desktop ships with snapd pre-installed, so this method requires zero pre-configuration on a typical desktop.
Install the LibreOffice Snap
sudo snap install libreoffice
What this does: Snap pulls a fully self-contained package from the Snapcraft store, including all dependencies bundled inside the snap itself. There are no external library dependencies to resolve. The tradeoff is a significantly larger download (around 1.26 GB) and slightly slower first launch compared to the APT build.
Verify the Snap Installation
snap info libreoffice | grep -E 'tracking:|installed:'
Expected output:
tracking: latest/stable
installed: 25.8.6.2 (369) 1.26GB -
Why the grep filter: Without it, snap info dumps a wall of text that makes it hard to see what actually matters. The tracking field confirms you are following the stable channel rather than a beta or edge build. The installed field confirms the build revision and size.
To launch LibreOffice as a Snap:
snap run libreoffice
Step 6: Launch LibreOffice on Ubuntu 26.04 LTS
After installation, the way you open LibreOffice depends on whether you are on a desktop or a server.
Launch from the GUI (Desktop Users)
Open the Activities overview by pressing the Super key, then type LibreOffice. You will see individual launchers for Writer, Calc, Impress, Draw, and a LibreOffice Start Center. Click any to launch.
Launch from the Terminal
Use the command that matches your installation method:
# APT install
libreoffice
# Flatpak install
flatpak run org.libreoffice.LibreOffice
# Snap install
snap run libreoffice

Launch in Headless Mode (Server Users)
On a server or minimal install without a display server, launching libreoffice directly throws a display error. For server-side tasks like document conversion, use headless mode instead:
libreoffice --headless --convert-to pdf yourfile.docx
Why headless mode exists: LibreOffice’s core rendering engine can process documents without any graphical session attached. This is extremely useful for automated pipelines where you need to convert hundreds of .docx files to PDF on a schedule, without a human ever opening the GUI.
Step 7: Keep LibreOffice Updated on Ubuntu 26.04 LTS
The update method depends entirely on how you installed LibreOffice. Mixing update paths leads to version conflicts and duplicate launchers.
Update the APT Installation
sudo apt update
sudo apt install --only-upgrade libreoffice -y
Why --only-upgrade instead of apt upgrade: The --only-upgrade flag upgrades LibreOffice without touching any other packages on your system. On production servers, running a full apt upgrade on a schedule can introduce unexpected changes to other critical packages. Scoping the upgrade to just LibreOffice keeps your environment predictable.
Update the Flatpak Installation
sudo flatpak update org.libreoffice.LibreOffice -y
Flatpak apps sit completely outside APT’s management scope. Running apt upgrade will never update a Flatpak package.
Update the Snap Installation
Snap auto-updates in the background on a schedule managed by the snapd daemon. To force an immediate update before that schedule fires:
sudo snap refresh libreoffice
Troubleshooting Common LibreOffice Installation Errors
Error 1: Candidate: (none) When Running apt install libreoffice
Cause: The universe repository component is disabled on minimal or server installations.
Fix:
sudo add-apt-repository -y universe
sudo apt update
sudo apt install libreoffice -y
Why it happens: Ubuntu’s main component only includes software Canonical directly maintains with security patches. LibreOffice is community-maintained and lives in universe. A bare server image intentionally excludes universe to minimize the default software footprint.
Error 2: E: The repository … resolute Release does not have a Release file
Cause: You added the LibreOffice Fresh PPA on Ubuntu 26.04. This PPA has no resolute Release file.
Fix: Remove the PPA and fall back to Ubuntu’s native repositories:
sudo add-apt-repository --remove -y ppa:libreoffice/ppa
sudo apt update
Why this happens: The LibreOffice PPA on Launchpad currently only publishes packages for Ubuntu noble (24.04) and jammy (22.04). It has not yet added support for resolute (26.04). Attempting to use it on 26.04 causes apt update to fail entirely until you remove the broken source.
Error 3: LibreOffice Base or Macros Not Working
Cause: default-jre (Java Runtime Environment) was not installed or is missing from the system.
Fix:
sudo apt install default-jre -y
After installing Java, open LibreOffice and navigate to Tools > Options > LibreOffice > Advanced > Java Options to confirm the JRE is detected.
Why Java is required: LibreOffice Base uses Java internally for its form and report engines. Certain macro types also call Java bridges under the hood. The libreoffice APT metapackage normally pulls default-jre in automatically, but partial installs or manual dpkg builds can skip it, leaving Base completely non-functional.
Error 4: Two LibreOffice Launchers Appear After Install
Cause: You installed LibreOffice via both APT and Snap (or Flatpak), creating two separate installs with their own .desktop entries.
Fix: Decide which install method you want to keep and remove the other:
# Remove APT version
sudo apt remove --autoremove libreoffice
# OR remove Snap version
sudo snap remove libreoffice
# OR remove Flatpak version
sudo flatpak remove org.libreoffice.LibreOffice -y
Mixing package formats on the same system creates confusing launcher conflicts and inconsistent update behavior. Pick one method and stick to it.
Error 5: Display Not Available When Launching from Terminal
Cause: You are attempting to launch the LibreOffice GUI from an SSH session or a system with no display server running.
Fix: If you need to process documents server-side, use headless mode:
libreoffice --headless --convert-to pdf input.docx
If you genuinely need the GUI on a remote server, use X11 forwarding (ssh -X) or a remote desktop solution like VNC instead.
How to Remove LibreOffice from Ubuntu 26.04 LTS
Remove the APT Installation
sudo apt remove --autoremove libreoffice
Why --autoremove: The libreoffice metapackage pulls in language packs, fonts, Java components, and other support packages as auto-installed dependencies. Without --autoremove, those packages stay on disk and waste storage. Review the removal preview list before confirming — on some systems it may include other packages that were previously auto-installed.
Remove the Flatpak Installation
sudo flatpak remove org.libreoffice.LibreOffice -y
sudo flatpak remove --unused -y
The --unused flag cleans up shared runtimes that LibreOffice was using. Without it, the GNOME Platform or KDE runtime that LibreOffice used stays on disk even after the app is gone.
Remove the Snap Installation
sudo snap remove libreoffice
snapd automatically saves a data snapshot on removal. If you want permanent removal with no leftover data, check the snapshot ID and delete it:
snap saved
sudo snap forget <set-id>
Congratulations! You have successfully installed LibreOffice. Thanks for using this tutorial for installing LibreOffice on the Ubuntu 26.04 LTS (Resolute Raccoon) system. For additional help or useful information, we recommend you check the official LibreOffice website.