26

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

3 Answers 3

29

Try this

sudo apt-get install mono-complete

2
  • 3
    What version does this install? Latest stable?
    – jjxtra
    Apr 4, 2013 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, 2016 at 4:40
8

You can install only mono runtime. Try this:

sudo apt-get install mono-runtime
1
8

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .