LibreOffice is now available to install from Flathub, the centralised Flatpak app store.
Its arrival allows anyone running a modern Linux distribution to install the latest stable release of LibreOffice in a click or two, without having to hunt down a PPA, tussle with tarballs or wait for a distro provider to package it up.
What’s “new” here is the distribution method. Rather than release updates through their own dedicated server The Document Foundation has opted to use Flathub.
This is great news for end users as it means there’s one less repo to worry about adding on a fresh install, but it’s also good news for Flatpak advocates too: LibreOffice is open-source software’s most popular productivity suite. Its support for both format and app store is sure to be warmly welcomed.
At the time of writing you can install LibreOffice 5.4.2 from Flathub. New stable releases will be added as and when they’re released.
Enable Flathub on Ubuntu
Fedora, Arch, and Linux Mint 18.3 users have Flatpak installed, ready to go, out of the box. Mint even comes with the Flathub remote pre-enabled.
To get Flatpak up and running on Ubuntu you first have to install it:
sudo apt install flatpak gnome-software-plugin-flatpak
To be able to install apps from Flathub you need to add the Flathub remote server:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
That’s pretty much it. Just log out and back in (so that Ubuntu Software refreshes its cache) and you should be able to find any Flatpak apps available on Flathub through the Ubuntu Software app.
In this instance, search for “LibreOffice” and locate the result that has a line of text underneath mentioning Flathub. (Do bear in mind that Ubuntu has tweaked the Software client to shows Snap app results above everything else, so you may need scroll down the list of results to see it).
There is a bug with installing Flatpak apps from a flatpakref file, so if the above method doesn’t work you can also install Flatpak apps form Flathub using the command line.
The Flathub website lists the command needed to install each app. Switch to the “Command Line” tab to see them.
More apps on Flathub
If you read this site regularly enough you’ll know that I love Flathub. It’s home to some of my favourite apps (Corebird, Parlatype, GNOME MPV, Peek, Audacity, GIMP… etc). I get the latest, stable versions of these apps (plus any dependencies they need) without compromise.
And, as I tweeted a week or so back, most Flatpak apps now look great with GTK themes — no more workarounds required!
via Jiří Eischmann