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
Thankyou Gary, 2 days of frustration ended with a simple answer!
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.
ditto that!
Thanks! This ended a wild goose chase that involved much wailing and gnashing of teeth!
This is naturally great! I wonder, though, if this repository ever gets updated. Mono 2.2 is out and all over the place, but as of today, this repository only holds copies 1.9.1 (ie. “barely Mono 2.0″)…
… which is a pain, now that 2.4 is out, and this repo doesn’t seem to get updated :/
My trouble is that a few Mono apps I’m using require the Mono 2.4 libraries, or they won’t compile.
As of June 19 this repository does not exist anymore, however you can use
http://download.opensuse.org/repositories/home:/mindtouch/RHEL_5/
(Mono 1.9.2)
or
http://download.opensuse.org/repositories/home:/directhex/RHEL_5/
(Mono 2.0.1)