How to Upgrade LibreOffice on AlmaLinux 8


LibreOffice is a free, open-source office productivity suite used by millions worldwide. The office suite software uses a native file format ODF or Open Document Format, an accepted and almost required structure in multiple organizations across the globe.

LibreOffice includes Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing).

As many know, AlmaLinux does have recent versions of LibreOffice, but given the distribution is a downstream version of RHEL and focuses on stability over new features, when new LibreOffice releases occur, you may not see these straight away. Luckily, using alternative installation managers can achieve you get the latest version and keep it up to date.

In the following tutorial, you will learn how to install the latest LibreOffice on AlmaLinux 8 using Flatpak using the command line terminal.

Update Fedora

First, before you continue ensure your system is up-to-date to avoid any conflicts.

Advertisement


sudo dnf upgrade --refresh

Install/Upgrade LibreOffice Suite

Re-install Flatpak if you removed it previously using the following command.

sudo dnf install flatpak -y

The next step is to reboot your system if you have re-installed Flatpak; if not, skip.

reboot

Next, you need to enable Flatpack using the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now begin the installation using the following flatpak command.

flatpak install flathub org.libreoffice.LibreOffice -y

Flatpak should auto-update packages roughly 10 minutes into a new desktop session by default.

To manually run an update, you can use the following command.

Advertisement


flatpak update

Launch LibreOffice Suite

Flatpak versions of software can be primarily launched from icons or terminal. Since you have your terminal open, most likely still use the following flatpak command to open the LibreOffice suite.

flatpak run org.libreoffice.LibreOffice

Alternatively, most would prefer using the icons, which can be found in Activities > Show Applications > Office.

Example:

Install/Upgrade Latest LibreOffice on AlmaLinux 8

Once the LibreOffice suite is open, you will land at the default suite landing page to open the office applications.

See also  How to Install Linux Kernel 6.0 on AlmaLinux 9

Example:

Install/Upgrade Latest LibreOffice on AlmaLinux 8

Navigate to the About tab from the Help menu to see the information of LibreOffice and build installed.

Advertisement


Example:

Install/Upgrade Latest LibreOffice on AlmaLinux 8

As above, you have the latest version installed on your system. From here, you can use the individual LibreOffice icons and link them to your taskbar for quick use.

How to Remove (Uninstall) LibreOffice Suite

To remove the Flatpack version of LibreOffice, run the following command:

flatpak uninstall --delete-data org.libreoffice.LibreOffice -y

Another handy hint can be to use the following command to make sure Flatpak has not left behind any unnecessary packages as it is known to sometimes.

flatpak remove --unused

Comments and Conclusion

LibreOffice is a free, open-source alternative to Microsoft Office that has continuously improved over the years. It’s great for users migrating from Windows who don’t want to shell out money on updates they may not use every year.


Not what you were looking for? Try searching for additional tutorials.

Leave a Comment