How to Install LibreOffice on Debian 11 Bullseye


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).

In the following tutorial, you will learn how to install LibreOffice’s latest release on Debian 11 Bullseye desktop.

Update Debian System

Update your Debian operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

Install Flatpak

By default, the later versions of LibreOffice are not available default unless you are willing to try and create some APT pinning for the unstable packages to grab the updates, even then, that is risky due to them not constantly being updated and the sheer amount of packages that come with LibreOffice so installing a third-party manager like Flatpak is more ideal.

Advertisement


First, install Flatpak using the following command.

sudo apt install flatpak -y

Now reboot your system, failure to do this may lead to paths not being appropriately generated, such as application’s icons missing and will not being shown until you do.

reboot

Next, enable the Flathub repository to get LibreOffice and any other packages.

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

Install LibreOffice

First, remove the existing LibreOffice provided by default by Debian.

sudo apt autoremove flatpak* -y

The next step is to install LibreOffice with flatpak, and this can be done using the following command.

flatpak install flathub org.libreoffice.LibreOffice -y

Once installed, you can proceed to launch.

Advertisement


Launch LibreOffice

LibreOffice has many applications that can be utilized, and the best option is to see what is installed by going into the Activities > Show Applications > LibreOffice search location.

See also  How to Install KeePassXC on Debian 11 Bullseye

Example:

How to Install or Upgrade LibreOffice on Debian 11 Bullseye

Alternatively, you may want to use it for applications quite frequently. Right-click the icon and click add to favorites, and this will then make the icons appear on the taskbar.

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

Example (LibreOffice Writer):

How to Install or Upgrade LibreOffice on Debian 11 Bullseye

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

Advertisement


How to Install or Upgrade LibreOffice on Debian 11 Bullseye

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

In the tutorial, you have learned how to install LibreOffice’s latest release on Debian 11 Bullseye.

Overall, LibreOffice is a solid free, open-source choice for users migrating from Windows. While LibreOffice still has a way to look and feel of Microsoft Office, the improvements or new additions are pretty significant with every release.


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

Leave a Comment