8

I've been downloaded a file from MonoDevelop website but it couldn't execute in my ubuntu, how to open that file?

filename is "monodevelop.flatpakref"

orschiro
  • 12,987
  • 16
  • 82
  • 157
burhanuddin abbas
  • 350
  • 2
  • 5
  • 15

4 Answers4

11

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

sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
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 here.

Cadoiz
  • 268
  • 1
  • 9
kcpr
  • 1,403
  • 12
  • 27
1

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
sarru1291
  • 782
  • 1
  • 9
  • 14
1

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 yourself as shown in this video, which helped me a lot.

Unfortunately there are no longer pre-compiled packages for Ubuntu.

Cadoiz
  • 268
  • 1
  • 9
purlantov
  • 11
  • 2
0

Now I think you can Graphical install Flatpak. It now prompts to a new dialog box to install:

enter image description here

Artur Meinild
  • 21,605
  • 21
  • 56
  • 89
ani chan
  • 11
  • 1