Skip to content

Instantly share code, notes, and snippets.

@VRDate
Forked from herberthamaral/install-mono-centos.sh
Created September 7, 2017 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VRDate/294bf2c01bf52e9acec06c56ec4c56e7 to your computer and use it in GitHub Desktop.
Save VRDate/294bf2c01bf52e9acec06c56ec4c56e7 to your computer and use it in GitHub Desktop.
Install mono-complete from xamarin repositories on CentOS 7.1 x64 (probably works for other versions)
echo "[xamarin]" > /etc/yum.repos.d/xamarin.repo
echo "name=Xamarin" >> /etc/yum.repos.d/xamarin.repo
echo "baseurl=http://download.mono-project.com/repo/centos/" >> /etc/yum.repos.d/xamarin.repo
echo "enabled=1" >> /etc/yum.repos.d/xamarin.repo
echo "gpgcheck=1" >> /etc/yum.repos.d/xamarin.repo
echo "gpgkey=http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" >> /etc/yum.repos.d/xamarin.repo
yum update
yum install mono-complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment