First, download the sources from
http://ftp.novell.com/pub/mono/sources-stable/
You need
and
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
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>
Done! Phew.