Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install the MonoDevelop IDE from source. One of its prerequisites is Mono 2.10.

Unfortunately the preinstalled mono runtime on my current Ubuntu system is 2.6.7.

I managed to make a parallel mono install on my system. It is located at /opt/mono-2.10.

Sadly, once I run the ./configure script, it fails saying that the /usr/bin/mono executable is outdated (as well as other executables related to mono).

I would want to try to pass a different path to ./configure, to point to my parallel mono install (/opt/mono-2.10/bin/mono) etc.

How can I do that?

Thanks in advance.

share|improve this question
It would help if you could point to a location from where the source could be downloaded. Add that to your question. – Faheem Mitha Nov 14 '11 at 0:17
up vote 0 down vote accepted

Put /opt/mono-2.10/bin ahead of /usr/bin in your PATH:


This may not be enough. Typically configure scripts take additional settings in the form of --with-… options or environment variables. Run ./configure --help to see the possibilities.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.