How to install Mono on a server?

29,564

Solution 1

Try this

sudo apt-get install mono-complete

Solution 2

The mono compiler package is mono-gmcs, if you need the entire mono stack, install the package mono-complete .

Solution 3

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime
Share:
29,564

Related videos on Youtube

Ivan
Author by

Ivan

Updated on September 17, 2022

Comments

  • Ivan
    Ivan over 1 year

    I'd like to be able to build and run C# programs on my Ubuntu 10.10 server. How do I install Mono? "sudo apt-get install mono" doesn't work, says "Package mono is not available, but is referred to by another package".

  • jjxtra
    jjxtra about 11 years
    What version does this install? Latest stable?
  • Asifa.K
    Asifa.K over 8 years
    What's the difference between the complete mono stack and the compiler package?
  • Zero3
    Zero3 over 8 years
    This might not be enough, though. My installation was missing necessary .dlls with this. For more information, see stackoverflow.com/questions/10490155/…
  • Victoralm
    Victoralm over 7 years
    Does the "mono-complete" installs X11 with it !? Imo, I don't think this is the best choice on a server...