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
Active
Viewed 3.0k times
3 Answers
29
Try this
sudo apt-get install mono-complete
Jorge Castro
- 73,907
karthick87
- 84,713
-
3What version does this install? Latest stable? – jjxtra Apr 04 '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 04:40
8
The mono compiler package is mono-gmcs, if you need the entire mono stack, install the package mono-complete .
Jorge Castro
- 73,907
João Pinto
- 17,343
-
1What's the difference between the complete mono stack and the compiler package? – starbeamrainbowlabs Sep 14 '15 at 17:26
8
You can install only mono runtime. Try this:
sudo apt-get install mono-runtime
Jorge Castro
- 73,907
Max Knap
- 81
-
This might not be enough, though. My installation was missing necessary .dlls with this. For more information, see https://stackoverflow.com/questions/10490155/unable-to-run-net-app-with-mono-mscorlib-dll-not-found-version-mismatch – Zero3 Nov 28 '15 at 01:18