Skip to content

Instantly share code, notes, and snippets.

@daanl
Last active August 29, 2015 14:11
Show Gist options
  • Save daanl/1f653300aee9f99243d5 to your computer and use it in GitHub Desktop.
Save daanl/1f653300aee9f99243d5 to your computer and use it in GitHub Desktop.
#!/bin/bash
clear
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get -y install mono-devel
sudo apt-get -y install gyp automake make libtool
wget http://dist.libuv.org/dist/v1.0.0-rc1/libuv-v1.0.0-rc1.tar.gz
tar -xvf libuv-v1.0.0-rc1.tar.gz
cd libuv-v1.0.0-rc1/
sudo ./gyp_uv.py -f make -Duv_library=shared_library
sudo make -C out
sudo cp out/Debug/lib.target/libuv.so /usr/lib/libuv.so.1.0.0-rc1
sudo ln -s libuv.so.1.0.0-rc1 /usr/lib/libuv.so.1
sudo apt-get -y install unzip git
curl -sSL https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh & source ~/.kre/kvm/kvm.sh
source ~/.kre/kvm/kvm.sh
kvm upgrade
mozroots --import --sync
mono --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment