Recently, I needed to install Mint on my new laptop and so I payed close attention to how I installed MonoDevelop and turned it into a script -- which you can now use! I've tested it on a fresh Mint 12, but it should also work on Ubuntu Oneiric.
- Installs the git client and the dependencies necessary to build MonoDevelop from source.
- Downloads the source code for MonoDevelop from github.
- Configures the build script to install the stable profile into /usr/local (/usr/local/monodevelop-3.0.1/ will be the full path). However, you can change the defaults by editing the variables at the top of the script.
- Builds and installs MonoDevelop
- Creates a script in $INSTALL_PREFIX/bin that simply calls the real monodevelop script. This is because you can't just create a symbolic link. This step has a bad smell to it - if you know a better way to do what I'm trying to do, please leave a comment.
- Adds two environment variables into your ~/.bashrc file
You can download it here: https://raw.github.com/jar349/tools/master/install-monodevelop.sh.
Don't forget to run it with sudo!