Skip to content

Instantly share code, notes, and snippets.

@Elycin
Created July 22, 2018 14:44
Show Gist options
  • Save Elycin/e53acfa4ef952324cadef4a93cfd7d0e to your computer and use it in GitHub Desktop.
Save Elycin/e53acfa4ef952324cadef4a93cfd7d0e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# It's become a problem for me that the latest versions of mono aren't exactly available for the lastest version of Ubuntu,
# Ubuntu 18.04 as the repositories still carry a fairly old version of monodevelop-4.8
# This quick snippet will add a repository that will install the latest mono.
# At the time of writing this, 5.12.x
wget http://download.mono-project.com/repo/xamarin.gpg
sudo apt-key add xamarin.gpg
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-complete -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment