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".


Try this

sudo apt-get install mono-complete

  • 3
    What version does this install? Latest stable? – jjxtra Apr 4 '13 at 22:39
  • Does the "mono-complete" installs X11 with it !? Imo, I don't think this is the best choice on a server... – Victoralm Oct 29 '16 at 4:40

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime

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

  • 1
    What's the difference between the complete mono stack and the compiler package? – starbeamrainbowlabs Sep 14 '15 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.