How to install Mono on a server?

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

Asked By: Ivan


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

Answered By: João Pinto

Try this

sudo apt-get install mono-complete

Answered By: karthick87

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime
Answered By: Max Knap
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.