Installing Mono 1.9 on CentOS 5

March 26th, 2008 | by Gary |

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

3 Responses to “Installing Mono 1.9 on CentOS 5”

  1. By Cliffra on May 9, 2008

    Thankyou Gary, 2 days of frustration ended with a simple answer!

  2. By Brian on Jul 17, 2008

    You have no idea how useful this was. I worked off and on for a week trying to get Mono installed from the RHEL4 repo file. Thanks.

  3. By Niel on Aug 17, 2008

    ditto that!

Post a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word