How to Install LibreOffice in Ubuntu

Estimated reading: 4 minutes 3 views

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.

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:

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:
apt autoremove -y
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:

add-apt-repository ppa:libreoffice
apt update
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

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

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.

snap search libreoffice
snap install libreoffice
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 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

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

Share this Doc

How to Install LibreOffice in Ubuntu

Or copy link

CONTENTS