Update: Using mono from the PPA gives a mess, some dll’s don’t work, so I recommend compiling it all from source.
I really like C# and also love Ubuntu. Fortunately for me there is a nice IDE available for Mono called MonoDevelop. In this tutorial I’ll show how to install the svn version of it on Ubuntu 8.10 64bit. Well.. basically it’s more a reference for myself, so it’s not that clean and understandable. 🙂
Installing Mono 2.x
First of all we need a updated version of mono, since the one shipping with Ubuntu is out of date. We don’t need to compile anything since there is a nice and easy PPA available.
- Create a new file “mono.list” in /etc/sources.list.d/ with the following contents:
deb http://ppa.launchpad.net/mono-ubuntu/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/mono-ubuntu/ppa/ubuntu intrepid main
- Update the apt-cache and install the new mono.
“sudo apt-get update && sudo apt-get dist-upgrade”
sudo ln -s /usr/bin/mcs1 /bin/mcs
sudo ln -s /usr/bin/gmcs2 /bin/gmcs
That should do it for Mono.
Installing MonoDevelop from SVN
sudo apt-get build-dep monodevelop
sudo apt-get install subversion build-essential automake1.9 libgecko2.0-cil libmysql5.0-cil mono-debugger nunit-console2 libncurses5-dev
sudo ln -s /usr/bin/nunit-console /usr/bin/nunit-console2
compile & install mono-debugger from http://ftp.novell.com/pub/mono/sources/mono-debugger/mono-debugger-2.2.tar.bz2
==
svn co -r 127196 svn://anonsvn.mono-project.com/source/trunk/monodevelop
or
svn co svn://anonsvn.mono-project.com/source/trunk/monodevelop
cd monodevelop
./configure
select gecko, asp.net , database, profiling, codeanalysis, debugger, java, NOT boo, since it crashes with this revision.
make
sudo make install
I followed you directions. nunit-console2 could not be found.
I installed the monodevelop WITHOUT checking the debugger, and now it’s running fine.
I had to change the ln anyway:
sudo ln -s /usr/bin/mcs1 /usr/bin/mcs
sudo ln -s /usr/bin/gmcs2 /usr/bin/gmcs
(mind the /usr/bin instead of /bin!)
But you helped me a lot; even monodevelop 2.0 without debugger is much better than monodevelop 1.0!
Like post above i have to unchek monodebugger and nunit-console2 to install…
Any suggestion to install also the debugger?
I had too much trouble with the stuff from the repository. I installed it completely from source. So I am sorry, can’t help you here.
But now monodevelop 2.0 is released, I’ll guess they will have a fully functional package at getdeb.net or somewhere else now, or soon.
Hope that will help you.