Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Compile and install current dev version of Mono (3.4.1) and Monodevelop (5.1) on Ubuntu
#!/bin/sh
sudo apt-get install git mono-mcs mono-gmcs autoconf libtool g++ libglib2.0-cil-dev libgtk2.0-cil-dev libglade2.0-cil-dev libgnome2.0-cil-dev libgconf2.0-cil-dev
mkdir mono
cd mono
git clone https://github.com/mono/mono.git
git clone https://github.com/mono/monodevelop.git
git clone https://github.com/mono/xsp.git
git clone https://github.com/mono/mono-addins.git
cd mono
./autogen.sh --prefix=/usr && make && sudo make install
cd ../mono-addins
./autogen.sh --prefix=/usr && make && sudo make install
cd ../xsp
./autogen.sh --prefix=/usr && make && sudo make install
cd ../monodevelop
./configure --prefix=/usr && make && sudo make install
Owner

xplicit commented May 3, 2014

Script will ask about add-ins you want to build with monodevelop. It's safe to check in option 4 and 5 ( extras/MonoDevelop.Database and extras/MonoDevelop.Debugger.Gdb), other options were not tested and could fail the build.

Owner

xplicit commented May 3, 2014

Also script was tested with Mono 3.4, Monodevelop 5.0 and fresh install of Ubuntu 13.10

kjellski commented Jul 1, 2014

Hi there, I just wanted to let you know, I've tried this on a blank Ubuntu 14.04 LTS server and I needed to add a bit to it. My fork shows that, would love feedback about that 👍 for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment