I’ve recently read that Mono 3.0 has been released with a C# 5 compiler and support for MVC 4 here:
http://www.mono-project.com/Release_Notes_Mono_3.0
and
http://tirania.org/blog/archive/2012/Oct-22.html
For the life of me I cannot work out where to get it from as a package for Linux or even Windows.
This page seems to suggest it’s still in Beta:
http://www.go-mono.com/mono-downloads/download.html
I’ve tried doing a apt-get install mono-complete on Ubuntu 12.10 but it’s installed 2.10.8.1.
I’ve tried installing MonoDevelop 3 on my Windows machine and that’s only presented me with MVC 3 projects and appears to be using the .NET framework.
I’m entirely new to Mono and I’ve Googled everything possible to try and see how this works but am baffled. I’d love to get this working on Linux if possible and try some stuff out.
Can someone shed some light on this or do I need to be looking at building this from source?
Mono 3.x is too bleeding edge for Ubuntu 12.10. Grab preview packages from directhex’s PPA this way (this will install 3.2.1):
(If you use Ubuntu saucy 13.10, after adding the repository you need to edit the file
/etc/apt/sources.list.d/directhex-monoxide-saucy.listand replace the word saucy with raring)Then, after that:
This will also get you MonoDevelop 4.x if you had monodevelop installed before.
NOTE: directhex is not some random guy that created a PPA, he’s part of the Debian/Ubuntu maintainer team of all the Mono and Mono-based packages. So using this is the most official way to upgrade your infrastructure.
And for the debian users out there: mono 3.0.6 and MonoDevelop 4.0.x is already available in debian testing. So what I recommend to get this is:
sudo apt-get purge mono-runtime(after doing this, resist the temptation to do ansudo apt-get autoremoveor you will break your system, something which I reported as a bug here)./etc/apt/sources.list, locate the first line that mentions themainsource, and rename the wordjessietosid.sudo apt-get update.sudo apt-get install monodevelop, which will pull mono as a dependency too.This way you have a more or less modern distro (as opposed to debian stable), plus very very modern mono packages (the bleeding edge versions for Mono are normally pretty stable).
F# users: Mono 3.0.6 has a bug that prevents this language to work in this version, please use Mono 3.2.x instead.