get and compile the latest monodevelop on Ubuntu/Linux

Remarks / Updates

Ali pointed out that the problem with the certificates might even come up in the configure phase – so you better do

mozroots --import --sync

before you start – just to be sure.

Also on his Ubuntu he needed to install packages for monos addin support.

I only have libmono-addins0.2-cil and libmono-addins-gui0.2-cil installed right now so if in doubt either install those or mono-addins-utils (should include the first) and libmono-addins-gui-cil-dev (the second).

Indeed it might be the case that I already had them installed by a former monodevelop install via the package-manager – sorry and thanks Ali.

I assume you installed mono (I got mono-complete) and git already.
This should be easy using apt-get, synaptic or the software-store.

This is just my write-down of the things I had to do while following
the documentation on github,
as there where some things you might miss (indeed this was triggered
by a question/conversation on twitter).

Clone it

First let’s get the source-files and it’s submodules:

git clone
cd monodevelop
git submodule update --init --recursive

This might take some while so get tea 😉


I decided to use the stable version and put it into the default location (/usr/lib/monodevelop).
So just configure it this way:

./configure --profile=stable

Well this got me the following error:

configure: error: Cannot enable GNOME platform without gnome-sharp-2.0

Which is no big deal – just grap the packet using apt-get:

sudo apt-get install gnome-sharp2

and retry

./configure --profile=stable

this now works on my test-VM if you have any other issues repeat till you got all dependencies installed.

If you don’t know the package-names (for example the error was “gnome-sharp-2.0” but the package
is named “gnome-sharp2” use synaptic to search for it (or your favorite search-engine on the net).


Now just compile/build it:


This to fails on the first go for me, and the error is harder to spot – but looking at the output
I did find this:

WARNING: Error getting response stream (Write: The authentication or decryption has failed.)

The real problem is that nuget could not download some packages (nuget is .nets packet manager –
or will be till Paket rules but that is another story).

Anyway it could not get the packages because some Mozilla LXR certificates where missing.
You can get them by running this command:

mozroots --import --sync

Well let’s try again:


Now nuget downloads the missing pieces and monodevelop compiles – good.

Of course this too will take some time…

Install it

This is optional, but as I don’t want to keep the sources and want to use this in production I’m gonna install
monodevelop into the system by:

sudo make install


Clean up (optional)

I don’t need the sources any longer (but you can keep them if you want to update regulary) so:

cd ..
rm monodevelop -rf

Will remove them.