Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Latest LibreOffice on Linux: Step-by-Step

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To install the latest version of the free LibreOffice office suite on Linux, the safest and most reliable method is to download the official .deb or .rpm package from the LibreOffice website and install it with your package manager. This guide covers that method, plus the simpler option of using your distribution’s package manager (which may offer an older version). You’ll need a working internet connection and sudo/administrator access to your system.

What You'll Need

  • A Linux distribution (Ubuntu, Debian, Fedora, openSUSE, etc.)
  • An internet connection
  • Administrator (sudo) access to install software
  • For the official package method: a tool to extract archives (like tar, usually preinstalled)

Step-by-Step

Method 1: Install from Your Distribution’s Repository (Easier, but May Be Older)

  1. Open a terminal window (Ctrl+Alt+T on most systems).
  2. Update your package list: sudo apt update (Debian/Ubuntu) or sudo dnf check-update (Fedora) or sudo zypper refresh (openSUSE).
  3. Install LibreOffice: sudo apt install libreoffice (Debian/Ubuntu), sudo dnf install libreoffice (Fedora), or sudo zypper install libreoffice (openSUSE).
  4. Wait for the installation to finish. This installs the version that came with your distribution—it may not be the absolute latest, but it is stable and well-integrated.
  5. Launch LibreOffice from your application menu or by typing libreoffice in the terminal.

Method 2: Install the Latest Official Version from LibreOffice.org (Recommended for Latest)

  1. Go to the official LibreOffice download page: https://www.libreoffice.org/download/download-libreoffice/.
  2. Select your Linux distribution from the dropdown (e.g., “Debian/Ubuntu” for .deb packages, or “Fedora” for .rpm).
  3. Choose the architecture (usually 64-bit, unless you have a very old 32-bit system).
  4. Download the .deb or .rpm file. It will be a compressed archive (like .tar.gz).
  5. Open a terminal and navigate to your Downloads folder: cd ~/Downloads.
  6. Extract the archive. For .tar.gz, use: tar -xzf LibreOffice_*.tar.gz. Replace the wildcard with the actual filename.
  7. Change into the extracted directory: cd LibreOffice_*_Linux_x86-64_deb (or similar).
  8. Inside, you’ll find a DEBS or RPMS folder. Change into it: cd DEBS (or cd RPMS).
  9. Install all packages. For .deb: sudo dpkg -i *.deb. For .rpm: sudo rpm -Uvh *.rpm.
  10. If you get dependency errors, run sudo apt install -f (Debian/Ubuntu) or sudo dnf install -y (Fedora) to fix them.
  11. Launch LibreOffice from your application menu. To verify the version, open any component (like Writer) and go to Help > About LibreOffice.

Common Mistakes

  • Mixing package types: Installing .deb packages on a Fedora system (or .rpm on Ubuntu) will fail. Always match the package type to your distribution.
  • Not removing the old version first: If you install the official package over an older distro version, you may end up with two conflicting installations. It’s safer to remove the old one first: sudo apt remove --purge libreoffice* (Debian/Ubuntu) or sudo dnf remove libreoffice* (Fedora), then install the new one.
  • Forgetting to extract the archive: The downloaded file is not the installer itself—it’s a compressed archive. You must extract it first.
  • Using the wrong architecture: Downloading a 32-bit package on a 64-bit system will cause errors. Check your system with uname -m (should output x86_64 for 64-bit).

Tips

  • If you want the latest version but prefer a simpler install, consider using a third-party repository like the LibreOffice PPA for Ubuntu (search “LibreOffice PPA” on the official site). However, this is not officially supported by The Document Foundation, so use at your own risk.
  • After installing, you can set LibreOffice as your default office suite in your system settings (Settings > Default Applications on many desktops).
  • If you’re on a rolling-release distro like Arch or Manjaro, you can simply run sudo pacman -Syu libreoffice-fresh to get the latest version from the official repos.
  • Keep your system updated regularly—your distribution’s package manager will notify you of LibreOffice updates if you installed from the repo.

Troubleshooting

  1. “Package not found” error: If you’re using the official package method, make sure you extracted the archive and are in the correct directory. Double-check that you’re in the DEBS or RPMS folder.
  2. Dependency errors: Run sudo apt install -f (Debian/Ubuntu) or sudo dnf install -y (Fedora) to automatically resolve missing dependencies. If that fails, try updating your system first: sudo apt update && sudo apt upgrade.
  3. LibreOffice doesn’t launch: Try launching from the terminal with libreoffice --version to see any error messages. If it says “command not found,” the installation may have failed—reinstall following the steps again.
  4. Old version still appears: If you installed the official package but the old version still shows, remove the old one completely (see Common Mistakes) and reinstall the new one.
  5. Menu icons missing: This is rare but can happen. Try logging out and back in, or restart your desktop environment. If that fails, reinstall the desktop integration packages from the DEBS folder (files like libreoffice-desktop-integration).

Frequently Asked Questions

Is LibreOffice really free?

Yes, LibreOffice is completely free and open-source software. You can download and use it without paying anything, and you can even redistribute it.

Will my Microsoft Office documents work in LibreOffice?

LibreOffice can open and edit most Microsoft Office files (docx, xlsx, pptx) with good compatibility. Complex formatting may occasionally shift, but for everyday use it works well.

Can I have both LibreOffice and Microsoft Office installed?

Yes, they can coexist on the same system. Just be careful when setting default applications—you can choose which one opens which file type.

How do I update LibreOffice to the next version?

If you installed from your distribution’s repository, updates come through your package manager. If you installed the official package, you’ll need to download and install the new version manually, following the same steps.

Why does my distribution’s version seem older than the one on the website?

Distributions often package older versions because they prioritize stability and testing. The official website always has the latest release, but it may not be as thoroughly tested with your system.

Can I install LibreOffice on a Raspberry Pi (ARM)?

Yes, LibreOffice is available for ARM-based systems. On the download page, select the appropriate architecture (like “ARM64” for newer Pis). Alternatively, your distribution’s repository likely has it.