Skip to main content

Installing Mono 2.10.x on Ubuntu 10.4LTS

By August 31, 2011Tech

Following on from my Centos updates, I’ve got to update my Ubuntu 10.4 boxes.  Given ubuntu say this is bad and will break all sorts of things, I’m installing alongside the current supplied 2.4.4.

[sourcecode]

export PKG_CONFIG_PATH=/opt/mono-2.10/lib/pkgconfig:$PKG_CONFIG_PATH

export PATH=/opt/mono-2.10/bin:$PATH

export PATH=/opt/mono-2.10/lib:$PATH

export LD_LIBRARY_PATH=/opt/mono-2.10/lib

get the source

wget http://download.mono-project.com/sources/mono/mono-2.10.5.tar.bz2"> http://download.mono-project.com/sources/mono/mono-2.10.5.tar.bz2

http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.10.tar.bz2

bunzip2 *.bz2

tar -xvf mono-2.10.5.tar

tar -xvf mono-basic-2.10.tar

cd mono-2.10.5

apt-get install bison gettext

./configure –prefix=/opt/mono-2.10

make  (then go have a cup of tea – this will take a while)

make install

cd ..

cd mono-basic-2.10

./configure –prefix=/opt/mono-2.10

make

make install

[/sourcecode]

done!

/opt/mono-2.10/bin/mono –version

should give you version number etc.

Leave a Reply

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