Install Mono 2.11 from Source on Ubuntu with a Bash Script

NOTE: Ubuntu 12.04 LTS and Badgerports.org are now current w/ 2.10.8.1. This bash script is more useful when installing parallel Mono, when a new version is released and not yet published on badgerports, or if you simply want to compile it yourself from source. I highly recommend trying the latest Ubuntu or Badgerports first.

Updated Sept 11, 2012 - Incremented Mono to 2.11.3 (from 2.11.0).

Install

This script is meant to be a barebones web server install. Feel free to tweak the script and add as many packages as you like to it.

mkdir mono-2.11  
cd mono-2.11  
wget --no-check-certificate https://github.com/nathanb/iws-snippets/raw/master/mono-install-scripts/ubuntu/install_mono-2.11.sh  
chmod 755 install_mono-2.11.sh  
./install_mono-2.11.sh

 

There is also a CentOS/Red Hat script in the GitHub repository.

Enjoy!

comments powered by Disqus