Super User is a question and answer site for computer enthusiasts and power users. 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 need urgently to install Mono 2.6 on Ubuntu 9.10 but in Synaptic the version 2.6 doesn't appear :-(

Is there an other repository I can use to install it ?

share|improve this question
What makes your require 2.6? Is there a specific feature you need that keeps you from using 2.4? – heavyd Mar 26 '10 at 17:31
I need Linq to sql feature. – user32433 Mar 26 '10 at 17:48
up vote 1 down vote accepted

It looks like the latest version in the official repos is 2.4. So you've got a couple of options. If you're just using it temporarily you can download a virtual machine or live CD which has the latest build on it from the Mono download page. However, if a VM or live CD will not do, you may have to compile Mono from source.

share|improve this answer
The last time I compile the source of Mono 2.6, Monodevellop didn't start :-( so I prefer to use a repository with the package. – user32433 Mar 26 '10 at 17:47
I will try the vmware image of OpenSuse provided by – user32433 Mar 27 '10 at 12:31

You can install mono from source.

share|improve this answer
The last time I compile the source of Mono 2.6, Monodevellop didn't start :-( so I would prefer to use a repository with a package. – Anonymous Mar 26 '10 at 17:49
you shouldn't overwrite the packaged mono... install it in parralel. – Dykam Mar 26 '10 at 18:02
How can I do that ? – Anonymous Mar 26 '10 at 18:11 – Tomi Mar 26 '10 at 18:18
I don't understand the /opt/gnome I haven't it. But is it just to create a new folder /opt/mono and install the source within ? – Anonymous Mar 26 '10 at 18:26

Short answer... You can't

Long answer... you can compile it from source but this requires you to be a quite advanced user. The mono project is produced by Novell, Novell has a linux distro called opensuse which competes with Ubuntu. Novell therefore has no incentive to package mono for ubuntu.

I have asked this same question on the mono mailing list the answer was that it is up to the ubuntu devs to package mono for ubuntu. Seeing as ubuntu only packages stuff for its 6 monthly releases this means that they will not provide packaging for mono releases which happen after the feature freeze.

You will probably notice that the mono project provides packaging for all other major operation systems including: windows and mac osx. But not for ubuntu even though it has the largest mono user base.

share|improve this answer

I just installed mono 2.6 from source using the script/instructions from

It's not quite as easy as the default install, but pretty well automated for a source install. The only additional step I needed to get my build server working was updating the path and pkg-config path so that 2.6 is found before 2.4.

share|improve this answer

The mono-cli team hasn't packaged it yet. So there are no packages to install. Further bad news is it's not coming in 10.04 (Lucid) either. So you will have to install from source, or package it yourself. Do not attempt the later... so install a parallel version of mono and you will not break your distro supplied mono. You can pick and choose which mono to use to run/build your apps. Get the script from my blog...

chmod +x


mono-2.6 banshee-1
mono-2.6 mono -V
mono-2.6 your-app

Newer version of MonoDevelop will find your parallel version of mono and allow you to compile against either. Cool huh?

share|improve this answer

You must log in to answer this question.

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