Spent a little while figuring out the correct incantation to get Mono installed on Ubuntu so I thought I’d post it as a reminder for myself (and possibly as an instruction for others).
Step 1.
Enable the universe repository (see here for instructions if you’re really not sure how to do that).
Step 2.
Do the following from a terminal:
$ sudo apt-get install mono monodoc libgnome-cil
Updated
It turns out libgtk-cil doesn’t provide all the dependencies you need to run monodoc (and possibly other applications) – using libgnome-cil does provide them.
NB: This is based on the Debian install instructions in Mono: A Developers Notebook but the gtk-sharp package has been renamed (this will also apply to Debian unstable).
Step 3.
There is no step 3. Don’t you just love apt-get?
Thanks for the links.
Thanks. This helped a lot.
great….<br />
i just needed that…<br />
thanks a lot.
Thanks for this. I too have the O’Reilly book, but without the knowledge that the gtk-sharp package had since been renamed as libgnome-cil, I would have been well and truly stuck!
Thanks – this is really helpful after trying to setup Mono from source for the last 3 hours.
This doesn’t work, I get an error – <br />
<br />
The following packages have unmet dependencies:<br />
libgnome-cil: Depends: libgda2-1 (>= 1.0.4) but it is not installable<br />
Depends: libgnomedb2-3 (>= 1.0.4) but it is not installable<br />
<br />
Any ideas what is going on?<br />
<br />
Thanks
I am a new newbie. Where should I get “mono” and “monodoc”?<br />
Thanks,
Thanks man!
thanks, it came in handy to me too.