LibreOffice in Flatpak format
Flatpak is a cool new way of distributing images of Linux applications that run on a wide range of different distros, and run there in a secure way.
To try it out on your Linux (x86-64) machine, do the following:
- First, you need to install Flatpak itself. See here for details.
- Second, you need to add the Flatpak repository that contains the GNOME runtime (on which the LibreOffice.flatpak depends; see here for details):
$ wget https://sdk.gnome.org/keys/gnome-sdk.gpg $ flatpak remote-add --user --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/ $ flatpak install --user gnome org.gnome.Platform 3.24If you use another locale than en-US, and want LibreOffice to automatically come up with a matching UI localization, additionally
$ flatpak install --user gnome org.gnome.Platform.Locale 3.24(Beginning with Flatpak 0.8.0 and the LibreOffice.flatpak 4.2.4 this step is no longer necessary, as Flatpak can now automatically install the runtime referenced from the LibreOffice.flatpak file.)
- Then, with the LibreOffice.flatpak file downloaded from the “Download” button, do
$ flatpak install --user --bundle LibreOffice.flatpakto install it. (Don't worry, it does not interfere with any other LibreOffice you might already have installed on your machine, like the one shipped with your Linux distro.)
- And now you can run it, either from the command line
$ flatpak run org.libreoffice.LibreOfficeor by clicking on one of its icons (LibreOffice Start Center, Writer, etc.) in your distro's application launcher.
Alternatively, you can download a small LibreOffice.flatpakref file that tells Flatpak how to install the latest version of LibreOffice:
$ flatpak install --user --from LibreOffice.flatpakref
(Prior to Flatpak 0.8.0, you still need to install the GNOME runtime first.)
Behind the scenes, the LibreOffice.flatpak links to a repository on the download.documentfoundation.org server that will get updated with later versions of LibreOffice Fresh. So once a new version of LibreOffice Fresh is released, you can simply update your installation with
$ flatpak update --user org.libreoffice.LibreOffice
A few items to note:
LibreOffice.flatpak is based on the GNOME 3.24 runtime (older versions were based on GNOME 3.20), using LibreOffice's much-improved GTK3 backend. This should offer the most complete set of features in LibreOffice, paving the way to Wayland etc.
The single bundle contains all localizations available for LibreOffice (as it doesn't really affect the bundle's overall size that much).
The LibreOffice.flatpak does not include a Java Runtime Environment (JRE). That means that some LibreOffice functionality that requires a JRE will not work.
At this time, there is no Flatpak version of the LibreOffice Software Development Kit (SDK).