Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 26 down vote accepted

Try this

sudo apt-get install mono-complete

share|improve this answer
3  
What version does this install? Latest stable? – jjxtra Apr 4 '13 at 22:39

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

share|improve this answer
1  
What's the difference between the complete mono stack and the compiler package? – starbeamrainbowlabs Sep 14 '15 at 17:26

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime
share|improve this answer
    
This might not be enough, though. My installation was missing necessary .dlls with this. For more information, see stackoverflow.com/questions/10490155/… – Zero3 Nov 28 '15 at 1:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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