Skip to content

Instantly share code, notes, and snippets.

@herberthamaral
Last active March 15, 2018 11:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save herberthamaral/b05065498918073b76ad to your computer and use it in GitHub Desktop.
Save herberthamaral/b05065498918073b76ad 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
@kjellander-unity
Copy link

I needed to add
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
as well in order to get it to work on "CentOS Linux release 7.4.1708 (Core)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment