Graphical way to install .flatpakref (Flatpak) files?

Solution 1:

Ubuntu 14.04

Based on burhanuddin abbas comment there's a problem on Ubuntu 14.04.

Unable to locate package flatpak , because it is not supported for ubuntu 14.04 . Visit here for more details

Newer Ubuntu versions (tested on 16.04)

1. Installation of flatpak

  1. sudo add-apt-repository ppa:alexlarsson/flatpak.
  2. sudo apt update.
  3. sudo apt install flatpak.

1.1. (Optional) Adding the flathub repository

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

2. Installation of MonoDevelop with flatpakref file

flatpak install monodevelop.flatpakref.

3. Running the application

flatpak run com.xamarin.MonoDevelop (probably, not tested, based on @purlantov answer).


Source: http://www.omgubuntu.co.uk/2017/07/7-flatpak-apps-can-install-right-now-flathub .

Solution 2:

This is very helpfull Install MonoDevelop preview via FlatPak

It worked for me but any time that you want to start MonoDevelop you have to type in console:

flatpak run com.xamarin.MonoDevelop

And there is lot of things that do not work properly. I suggest you to compile it your self. This video help me a lot -> VIDEO

Unfortunately there is no longer pre-compiled package for Ubuntu.

Solution 3:

A graphical way to install Flatpak app using .flatpakref file starts with installing flatpak plugin to add flatpak support into default software center.

For Debian-based GNOME desktop,

sudo apt install gnome-software-plugin-flatpak

For Debian-based KDE desktop,

sudo apt install plasma-discover-plugin-flatpak

You can change the package manager based on your supported Linux distro. However, most Linux distro comes with pre-configured support for Flatpak.

Now if you search for app in your software center, you'll notice two application one with source pointing to flathub repo i.e. flatpak app.

Nonetheless, if you've already downloaded the .flatpakref file, it's better to run a single command to install a flatpak app.

flatpak install --from <app-id>.flatpakref