2 ways to Install LibreOffice in Ubuntu 22.04 | 20.04 LTS

The “LibreOffice” is a popular open-source office suite, a fork of OpenOffice that is functionally equivalent to Microsoft Office. Word processing, spreadsheets, presentation programs, graphics software, databases, and formula editors offer roughly the same range of functions as Excel, Word, or PowerPoint. You can also create PDF files and read, edit and save Microsoft Office documents.

A central start menu gives you direct access to all modules such as the text program and spreadsheet. A sidebar with formatting functions and templates ensures clarity on the screen. “LibreOffice” is suitable for use in the office, at university, and at home. In addition to many other formats, Microsoft formats such as DOC and DOCX are also supported. Like OpenOffice,  Libre Office originally worked with “Open Document Formats”, such as ODT for texts, ODS for tables, or ODP for presentations.

The LibreOffice package combines many applications from a wide variety of everyday areas. In addition to word processing tools, you will also find spreadsheet and database management programs, as well as a formula editor. The creation of presentations and drawings is also easily possible with the LibreOffice package.

Steps to install LibreOffice in Ubuntu 22.04 | 20.04 LTS

1. Requirements:

Ubuntu system
A non-root user with sudo access
Internet Connection

#Using an APT repository 

2. Run system update

First, open your terminal and run the system-update command to refresh the repository cache and update installed packages.

sudo apt update -y

 

3. Install LibreOffice on Ubuntu 22.04 | 20.04

The stable version but not the latest is already available to install using the system repository. Hence, we can use the APT package manager to install LibreOffice, here is the command to go for:

sudo apt install libreoffice

 

4. Run LibreOffice Applications

Once the installation is successfully done, go to Application launcher and search for LibreOffice app that you want to run such as Writer, spreadsheet, Database, Drawing, Presentation, or Formula.

Run LibreOffice Applications Steps to install LibreOffice in Ubuntu 22.04 20.04 LTS

#2nd Method using PPA for latest LibreOffice Version

5. Add PPA repository

If you want the latest current version or pre-release on Ubuntu 22.04 or 20.04 then we can get that using the official PPA repository for LibreOffice. Here is the command to add the one.

sudo apt install software-common-properties -y

Add one of the given PPA repo as per your choice:

For the current latest release:

sudo add-apt-repository ppa:libreoffice/ppa -y

For Pre-release:

sudo add-apt-repository ppa:libreoffice/libreoffice-prereleases -y

Run system update

Once you have added the repo of your choice, run the system update command:

sudo apt update

 

6. Install the latest current version of LibreOffice on Ubuntu

Well, now we can get the latest current version of this open-source office suite using the default APT package manager.

However, before that confirm which version you are getting, you can check that using:

sudo apt info libreoffice

For installation:

sudo apt install libreoffice

 

7. How to update

Well, in both the above-discussed ways to install Libre Office we have used the APT package manager and repository, therefore running the default system update command will also fetch and install if any new version is available.

sudo apt update

 

Uninstall or Remove

In the future, if you want to remove LibreOffice then we can do that again using the APT package manager.

If you have used the default system repo to install Office suite, then use:

sudo apt remove libreoffice

Those who have used the PPA repo can go for this:

sudo apt autoremove libreoffice --purge
sudo add-apt-repository -r ppa:libreoffice/ppa -y

 

Other Articles:

How to install LibreOffice on AlmaLinux or Rocky 8
5 Best free PDF editors for Ubuntu Linux in 2021
How to install LibreOffice in Kali Linux using terminal
Install WPS Office on Debian 11 Bullseye or 10 Buster Linux

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.