Skip to content

Support on Linux?

Dan True

Asked Feb 28, 2009, 2:48 AM EST3 answers
Share
LinkedInX
Hello. I guess this question must have been asked before, but I couldn't find any topic for it, so here goes: I am a student af the Danish Technical University, and primarily speaks Java. I am part of a project group that has to develop a commercial software for windows/linux/mac (it is vital that it has cross-platform capabilities). We wanna steer clear of Java, as a swing GUI tends to be "heavy" or "hang" a bit. I have seen the Mono Project and that I can develop C# programs in Linux and run it there when the Mono is installed. So here goes my question: "Is there a way that I can make a program in C# and make it run on Linux/Mac without the user having to install Mono to run it?". Hope someone can help :) Thanks... - Dan

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    Yes, every thing is possible, imagine a Machine A linux and Machine B linux, In linux we can access from machine A to a reomting Machine B with our account as if we are working with the Machine B

    You have to install the openssh  server before then you execute the command ssh to log into the machine B and execute whatever you want without having the obligation to install either mono or the given application within the machineA

    If you want to connect to a machine linux from within windows OS you can download PUTTY software and install it. It enables you log in a remote linux machine

    But if you're under Mac OS then it would rather to use .Net framework because it is the powerful one
    ;-)
    0
  • 0
    Yes, but as this is a commercial software and will handle quite large sums of data, it cannot be dependant on the internet connection of the specific firm and thus can't run a remote machine (especially since VoIP and CamChat will probably take up a broad part of the broadwidth). I was hoping on a way to run C# on Linux without Mono. I guess Mono could be installed on the klient machine during installation. - Dan
    0
  • Bechir Bejaoui
    0
    OK, To make thing clear, you have

    senario1
     if you have a unique post and you want to execute C# code without installing mono you can't because mono is the core something like the JDK and VM for java. Except that you develop the equivalent of mono to compile and interpet codes to native one and then enable the OS execute it.

    senario2
    You have two machines A has mono not installed and B in the same LAN has mono installed in that moment you can profit of the late binding technique of the  Reflection to wrap up your assemblies into objects and marshall them through canals to machine B where they will be compiled and interpreted to native code and then executed
    0