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

link|improve this question

56% accept rate
feedback

3 Answers

up vote 6 down vote accepted

Try this

sudo apt-get install mono-complete

link|improve this answer
feedback

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

link|improve this answer
feedback

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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