How to Install LibreOffice in Ubuntu

Are you an open-source enthusiast? If yes, then you must already be aware of LibreOffice, which is a widely used free office suite application in Linux and is also considered a good alternative to Microsoft Office Suite.

Interestingly, LibreOffice 24.8 is the latest version of the popular free office software, which has a new versioning system that shows the year and month: ‘24’ stands for 2024, and ‘8’ stands for August.

Method 1: Install LibreOffice on Ubuntu

Fortunately, the majority of Linux distributions including Ubuntu ship LibreOffice by default. Although not the latest version, that is why in this article I’ll show you how to install the latest LibreOffice suite in Ubuntu and Ubuntu-based distributions.

Let’s get started with installing the latest LibreOffice 24.8 in Ubuntu using the following methods:

Check LibreOffice Version in Ubuntu

Before installing, make sure to check the version of pre-installed LibreOffice, open your terminal, and run the command:

libreoffice --version

You can also check the version from inside the LibreOffice application by going to the menu –> help –> about.

Check LibreOffice Version
Check LibreOffice Version

As you can see, the current version installed in my Ubuntu 22.04 is LibreOffice 7.3, which is not the latest version at the moment I’m writing this article.

Uninstall Older LibreOffice in Ubuntu

To avoid any conflict or redundancy, we should first uninstall the existing LibreOffice version before installing its latest version.

So, to completely remove the LibreOffice suite with all its dependencies, run:

sudo apt remove --purge libreoffice* -y
Remove LibreOffice in Ubuntu
Remove LibreOffice in Ubuntu

Then, also remove the non-required packages installed as a dependency for LibreOffice and retrieve packages from the local cache by executing the command:

sudo apt autoremove -y
sudo apt autoclean -y

Install LibreOffice in Ubuntu Using PPA

PPAs (Personal Package Archives) are the most preferred and recommended way of installing any third-party application on Ubuntu as Ubuntu officially provides it at Launchpad including the LibreOffice PPA repository.

Using the official LibreOffice PPA helps to get the latest stable version and keep it always in sync with upstream. Let’s follow the below steps to install LibreOffice using the terminal from the PPA repository:

sudo add-apt-repository ppa:libreoffice
sudo apt update
sudo apt install libreoffice -y

Once installation is complete, open the Activities and search for “LibreOffice”. You will be able to view all available LibreOffice applications.

Open LibreOffice and you can check the latest version 24.8 of LibreOffice installed on your system.

Running LibreOffice in Ubuntu
Running LibreOffice in Ubuntu

In any case, if you wish to remove the LibreOffice PPA repository, simply run the below command:

sudo add-apt-repository --remove ppa:libreOffice/ppa

Method 2: Install LibreOffice In Ubuntu Using Snap

If you’re using Ubuntu 20.04 LTS or later including Ubuntu 24.04 LTS, you can use the pre-installed official Snap universal packaging and deployment tool by Ubuntu.

The latest versions of LibreOffice are available in the Snap store as Snap packages and can be installed using the following commands.

sudo snap search libreoffice
sudo snap install libreoffice
Install LibreOffice Using Snap
Install LibreOffice Using Snap

Uninstalling LibreOffice Snap is also as simple as installing by running a single command:

sudo snap remove libreoffice

Method 3: Install LibreOffice In Ubuntu Using Flatpak

Similar to Snap, Flatpak is also yet another popular universal package manager that stores the latest version of LibreOffice on Flathub. However, Unlike Snap, you need to manually install Flatpak on Ubuntu first to use it using the command:

sudo apt install flatpak
Install Flatpak in Ubuntu
Install Flatpak in Ubuntu

Now, before installing if you want to confirm the availability of LibreOffice on Flathub, run:

sudo flatpak search libreoffice

So, if you prefer Flatpak over Snap, you can still install LibreOffice in Ubuntu by running a single command:

flatpak install flathub org.libreoffice.LibreOffice
Install LibreOffice in Ubuntu via Flatpak
Install LibreOffice in Ubuntu via Flatpak

To uninstall LibreOffice using Flatpak, run:

flatpak uninstall org.libreoffice.LibreOffice

Method 4: Install LibreOffice in Ubuntu via Deb Package

LibreOffice also officially provides the Debian package for Ubuntu, which we can use to directly install the latest version of LibreOffice without any third-party tool.

The only thing you need to do is visit the Download page of LibreOffice, choose an appropriate OS version, and download the .deb file that comes bundled with a .tar.gz archive file.

Alternatively, you can use the following wget command to download and install it as shown.

wget https://download.documentfoundation.org/libreoffice/stable/24.8.0/deb/x86_64/LibreOffice_24.8.0_Linux_x86-64_deb.tar.gz
tar zxvf LibreOffice_24.8.0_Linux_x86-64_deb.tar.gz
cd LibreOffice_24.8.0.3_Linux_x86-64_deb/DEBS/
sudo dpkg -i *.deb

Method 5: Install LibreOffice in Ubuntu Using Appimage

Tired of installing tons of packages? You still can directly use LibreOffice without installing it by just downloading the Appimage of LibreOffice.
AppImages package contains all the files and dependencies required for an application to run.

Download the “Fresh” Basic version from the official site. Other Standard and Full versions are also available in case you need support for more languages than English (US).

Now, open the file manager and browse to the location of the AppImage. Right-click on the AppImage and choose the ‘Properties’ option.

In the pop-up window, switch to the Permissions tab and click the ‘Allow executing file as program’ checkbox.

LibreOffice Appimage Permission
LibreOffice Appimage Permission

At last, to open LibreOffice, right-click on the AppImage Icon and now select Run as a program.

Run LibreOffice Appimage
Run LibreOffice Appimage
LibreOffice Appimage
LibreOffice Appimage

In this article, you learned various ways to install LibreOffice in Ubuntu Linux. From the official PPA repo and Debian packages to using the Flatpak and Snap universal packages, you can choose to follow any of the methods as per your comfort.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Sarvottam Kumar
I'm a Software Engineer who loves to narrate human stories in the form of anecdotes and short stories. Sometimes, I also unshackle musings from my head.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

1 Comment

Leave a Reply
  1. Instead of going through all these gyrations with CLI, AppImage, PPA’s, SNAPs, or other third-party tools, why not use the “Lomanager” tool, specifically designed by LibreOffice developers to perform any and all maintenance necessary on LibreOffice.

    In one execution Lomanager will delete the old version of LibreOffice, check whether all the dependencies are up to date, install the newest version of LibreOffice and delete all the work files.

    It can also be used to completely uninstall LO if you no longer wish to have it on your system. Lomanager can also update individual LO modules without replacing the entire package. AND Lomanager is the program that should be used to install LibreOffice for the first time.

    In fact, when I read the title of this article, I expected to be shown how to install LO on a LibreOffice-less Ubuntu system. Instead, the article describes all kinds of convoluted and improper ways of upgrading LibreOffice from one version to the next.

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.