Created
April 15, 2013 07:11
-
-
Save waylaidwanderer/5386301 to your computer and use it in GitHub Desktop.
Simple bash script to install the latest build of Mono
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo Checking for prerequisites. Please enter password if prompted. | |
sudo apt-get update | |
sudo apt-get install libpng3 libpng3-dev libtool libtiff4 libtiff4-dev libexif12 libexif-dev libgif4 libgif-dev libpango1.0-dev libatk1.0-dev bison automake autoconf make gcc gtk-sharp2 build-essential xorg-dev libfreetype6 libfontconfig libfontconfig-dev gettext libglib2.0-dev git mono-complete libjpeg-dev | |
echo Downloading latest build of mono... | |
git clone git://github.com/mono/mono.git | |
echo Navigating to mono install directory. | |
cd mono | |
echo Building mono from source... | |
./autogen.sh --prefix=/usr/local | |
make | |
echo Installing mono, running with sudo | |
sudo make install | |
echo Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment