Skip to content

Instantly share code, notes, and snippets.

@Alxandr
Last active August 29, 2015 14:01
Show Gist options
  • Save Alxandr/e47a5111eec80d421b70 to your computer and use it in GitHub Desktop.
Save Alxandr/e47a5111eec80d421b70 to your computer and use it in GitHub Desktop.
#!/bin/sh
if test `uname` = Darwin; then
# Running on mac
brew update
brew install mono
else
# Running (presumably) on linux
# sudo add-apt-repository -y ppa:directhex/monoxide
sudo apt-get update -qq
sudo apt-get -y install git-core build-essential autoconf libtool gettext
CWD=$(pwd)
cd ..
git clone git://github.com/mono/mono.git
cd mono
./autogen.sh --prefix=/usr/local --with-mcs-docs=no --with-libgdiplus=/usr/lib/libgdiplus.so
make get-monolite-latest
make -j2
sudo make install
cd "$CWD"
mozroots --import --sync
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment