Installing Mono 1.9 on CentOS 5

MonoDevelop was recently released and I thought to try it on my CentOS 5 workstation… According to the Mono web site the prefered method for installing Mono on RedHat is to use yum. Once yum is installed, putting a mono.repo file in /etc/yum.repos.d will allow you to install mono and related packages.

BUT this is for RHEL  4 not RHEL 5 (and therefore CentOS 5)… If you try it you will get dependency errors. For CentOS 5 the best solution is to add the following mono.repo file to your /etc/yum.repos.d

[Mono]
name=Mono Stack (RHEL_5)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/Mono/RHEL_5/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/Mono/RHEL_5/repodata/repomd.xml.key
enabled=1

It works great!

I found the file at: http://download.opensuse.org/repositories/Mono/RHEL_5/

Gary