Skip to main content

Installing mono 2.10.x on Centos 5.x from source (inlcuding vbasic)

By August 27, 2011September 1st, 2011Tech

First, download the sources from

http://ftp.novell.com/pub/mono/sources-stable/

You need

mono-2.10.2.tar.bz2

and

mono-basic-2.10.tar.bz2

then

[sourceode]

tar -xvf mono-2.10.2.tar.bz2

tar -xvf mono-basic-2.10.tar.bz2
cd  mono-2.10.2
./configure -prefix=/opt/mono
make
make install
cd /usr/bin

mv mono mono.old
mv gmcs gmcs.old
ln -s /opt/mono-2.4/bin/mono /usr/bin/mono
ln -s /opt/mono-2.4/bin/gmcs /usr/bin/gmcs
ln -s /opt/mono/bin/dmcs  /usr/bin/dmcs
ln -s /opt/mono/bin/sn  /usr/bin/sn
ln -s /opt/mono/bin/gacutil  /usr/bin/gacutil

[/sourcecode]

cd back to where you stored the downloads
[sourcecode]

<em>cd mono-basic-2.10</em>
<em> ./configure -prefix=/opt/mono</em>
<em> make</em>
<em> make install</em>

[/sourcecode]

Done! Phew.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.