Sunday, 17 March 2013

Installing Mono and MonoDevelop/Xamarin on OSx

If you want to run O2 Platform scripts/exes on OSx, you need to start by installing Mono, Xamarin and (most likely) XQuartz

Go to http://www.go-mono.com/mono-downloads/download.html and click on the Beta version 3.0.6 Mac OSX image

NewImage

Click on the downloaded file and you will have a new drive mounted with this contents:

NewImage

If you double click on the MonoFramework-MDK-3.0.6.macos10.xamarin.x86.dmg  file you should get this:

NewImage

While pressing the Ctrl key, right-click on the MonoFramework-MDK-3.0.6.macos10.xamarin.x86.dmg  and chose Open 

NewImage

this should now give you a similar popup window, but this time with an Open button

NewImage

Follow the Mono installation wizard:

NewImage

Until you have mono installed

NewImage

Open an Terminal and type mono --version  , which should look like this (confirming the correct install of 3.0.6):

NewImage


Installing MonoDevelop

Go to http://monodevelop.com/download and click on the Mac OSX button

NewImage
Pick the Xamarin Studio (since the mono was installed in the steps described above)

NewImage

Open the installer dmg disk and drag-n-drop the Xamarin studio (humm....whatever happened to MonoDevelop???) into the Applications folder:

NewImage

After install you can run the app from Launch Pad

NewImage

And, it looks like MonoDevelop is now Xamarin

NewImage


Update: you most likely will also need to install XQuartz. See Problem running O2's Exe on OSX 10.8 , fixed using XQuartz  for more details