Install/Upgrade Latest LibreOffice on Rocky Linux 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, Rocky Linux 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 getting the latest version and keep it up to date.

In the following tutorial, you will learn how to install the latest 7.3 LibreOffice on Rocky Linux 8 using Flatpak.

Install/Upgrade LibreOffice with Flatpak

First, make sure your Rocky Linux system is up to date.

sudo dnf upgrade --refresh -y

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

Example output:

Install/Upgrade Latest LibreOffice on Rocky Linux 8

Type Y Twice, then press the ENTER KEY Twice to install.

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.

flatpak update

Launching LibreOffice

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 Rocky Linux 8

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

Example:

Install/Upgrade Latest LibreOffice on Rocky Linux 8

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

Example:

Install/Upgrade Latest LibreOffice on Rocky Linux 8

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

Removing LibreOffice Flatpak

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

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

Example output:

Install/Upgrade Latest LibreOffice on Rocky Linux 8

Type Y and then ENTER KEY to remove using the Flatpak method.

Note you will be prompted twice to Type Y or N. The second option removes all data for complete removal.

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

In the tutorial, you have learned to use the Flatpak manager to install and maintain the latest LibreOffice suite on Rocky Linux 8.

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.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!