Seems that the lates version of mono (18.104.22.168) 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:
# yum install gcc bison pkgconfig glib2-devel gettext make
3. Extract the downloaded file:
# tar jxvf mono-22.214.171.124.tar.bz2
4. Change to the newly created directory:
# cd mono-126.96.36.199
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.