Mono on Ubuntu

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?


About this entry