Skip to content

Instantly share code, notes, and snippets.

@tonyto
Created January 31, 2012 12:58
Show Gist options
  • Save tonyto/1710366 to your computer and use it in GitHub Desktop.
Save tonyto/1710366 to your computer and use it in GitHub Desktop.
bootstrapping mono on Debian-6.0.3-i386-netboot
#!/bin/bash
# this ran fine on Debian-6.0.3-i386-netboot.
# Not tested it on anything else so enlighten me..
clear
echo "======== installing required packages"
echo
sudo apt-get install g++
sudo apt-get install bison
sudo apt-get install gettext
sudo apt-get install make
sudo apt-get install pkg-config
sudo apt-get install libglib2.0-dev
echo "======== Getting mono from source"
echo
wget 'http://ftp.novell.com/pub/mono/sources/mono/mono-2.10.2.tar.bz2'
tar -xvjf 'mono-2.10.2.tar.bz2'
cd mono-2.10.2
echo "======== Configuring and install mono"
echo
./configure
make
sudo make install
echo "******** We are done! ********"
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment