==================================================[ START ]====

Seems that the lates version of mono (2.4.2.3) is not in the CentOS package repositories.  They still ship with a 1.x version.

Here is the easiest way to get the latest mono running on your CentOS 5.3 box:

1.  Go to this page and download the latest version (in our case, mono-2.4.2.3.tar.bz2)
2.  Install the following packages:

# yum install gcc bison pkgconfig glib2-devel gettext make

3.  Extract the downloaded file:

# tar jxvf mono-2.4.2.3.tar.bz2

4.  Change to the newly created directory:

# cd mono-2.4.2.3

5.  I put my built packages in /opt so, run the following command to build mono:

# ./configure –prefix=/opt/mono; make; make install

And that should do it.  You should have a working version of the latest Mono on your system.

Don’t forget to add the path to your ~/.bash_profile if you haven’t already.

initrd

====================================================[ END ]====

===============================================================

1 Comment »

  1. [...] building it yourself along with two other guides that were roughly the same, but not as good… (1, 2) and somehow ended up with a working server. This is a companion to that guide with more up to date [...]

    ---> Pingback by Serving ASP.NET pages in Apache on CentOS 5 « Bennyland — February 7, 2010 @ 4:00 am

RSS feed for comments on this post. TrackBack URL

===============================================================

Leave a comment

You must be logged in to post a comment.