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.
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
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.
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
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
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
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.
At last, to open LibreOffice, right-click on the AppImage Icon and now select Run as a program.
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.