How to install C# on Endless OS?

Hello. Can you please help me to install C# on Endless? I need the command for the terminal. Thank you! :slight_smile:

1 Like

@mhall119 Could help

Hey there - what exactly do you need to do with C#? I haven’t tried it too much myself. However you should first probably install Monodevelop which has an official flatpak: http://www.monodevelop.com/download/linux/

There’s a mono flatpak runtime which some apps on flathub are using, if you want to develop an app that runs on Endless in c#.

1 Like

after installing the monodevelop flatpak you should be able to use
flatpak list | grep mono
to find out the name which you may substitute for <env> in the following command:
flatpak run --command=bash <env>
See also this posting about Java.

There’s also some work in the latest GNOME Builder to work with Mono and GTK# https://blogs.gnome.org/chergert/2018/01/20/builder-happenings-for-january/ you can try the nightly version of this for now but it should be in 3.28 when released.