Like the other scripts I’ve posted, this one is meant to be a barebones mono install with the exception of LibGDI, LibGTK, XSP, and ModMono. You can easily make it a web server or just compile simple CLI scripts in mono. Run “csharp” for an interactive shell.
NOTE: Ubuntu 12.04 LTS and Badgerports.org are now current w/ 184.108.40.206. 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.
This version installs Mono 3.0.7
mkdir mono-3.0 cd mono-3.0 wget --no-check-certificate https://raw.github.com/nathanb/iws-snippets/master/mono-install-scripts/ubuntu/install_mono-3.0.sh chmod 755 install_mono-3.0.sh ./install_mono-3.0.sh
Take note that this will install to the suggested parallel environments path at: /opt/mono-3.0. Adjust your environment accordingly in either your virtual host config or your CLI environment before using it to run your Mono apps.