July 20, 2017 | 4:56 am
You are here:  / HOWTO / [HOWTO] Install Mono 2.4 on CentOS 5.3

[HOWTO] Install Mono 2.4 on CentOS 5.3

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