How to Install LibreOffice on Linux
This guide provides straightforward instructions for installing the LibreOffice productivity suite on various Linux distributions. Whether you use Debian, Ubuntu, Fedora, Arch Linux, or prefer universal package managers like Snap and Flatpak, this article covers the exact terminal commands and methods needed to get the software running on your system quickly.
Installing via Native Package Managers
Most Linux distributions include LibreOffice in their official package repositories. Use the command corresponding to your distribution.
Ubuntu, Debian, and Linux Mint (APT)
Update your local package index and install the suite:
sudo apt update
sudo apt install libreofficeFedora, RHEL, and AlmaLinux (DNF)
Install LibreOffice using the DNF package manager:
sudo dnf install libreofficeArch Linux and Manjaro (Pacman)
Choose between the latest feature release
(libreoffice-fresh) or the well-tested stable release
(libreoffice-still):
# For the latest features
sudo pacman -S libreoffice-fresh
# For the stable version
sudo pacman -S libreoffice-stillopenSUSE (Zypper)
Install the full suite with Zypper:
sudo zypper install libreofficeInstalling via Universal Package Formats
If you want the newest release regardless of your distribution’s base version, use Flatpak or Snap.
Flatpak (Flathub)
Ensure Flatpak is installed on your system, then run:
flatpak install flathub org.libreoffice.LibreOfficeTo run LibreOffice via Flatpak:
flatpak run org.libreoffice.LibreOfficeSnap
If your system supports Snap packages, install LibreOffice with a single command:
sudo snap install libreofficeInstalling via Graphical Software Centers
For a non-terminal approach:
- Open your distribution’s application manager (e.g., Ubuntu Software, GNOME Software, or Discover).
- Search for LibreOffice.
- Select the application and click Install.
- Enter your administrator password when prompted to complete the setup.