NOTE: This information is very much out of date. Ubuntu now has packages for everything you need - the "boo" package takes care of core installation, and the "monodevelop-boo" package will allow you to develop boo files on mono. Note, however, that the version of boo included in these packages is usually a bit behind. The latest-and-greatest features of boo are currently only available through SVN (see the bottom of this document).
Notes on installing everything you need to use boo, mono and Monodevelop on Ubuntu.
These instructions install the very latest bleeding edge versions (from SVN) of mono and monodevelop. This is very time consuming. You might prefer to install mono and gtk# binaries instead, and wait until the next version of MonoDevelop is released that includes boo support.
I found these instructions in French half way through writing this, so try that if you like.
See also these notes on compiling mono from svn.
Installing Support Applications
From the Applications menu, choose System tools -> Terminal
We will use apt-get to install some supporting applications. If you aren't using a Debian-based version of Linux, try finding rpm versions of this software instead. In Ubuntu, if you get any errors that a package cannot be found using apt-get, enable the "universe" repository by editing /etc/apt/sources.list.
Enter your password when prompted, and the software will be downloaded and installed. Answer 'y' for any questions. You may have to re-insert your Ubuntu CD, too.
Also install an old version of mono to use for compiling the new version later:
Type "mono -V" (no quotes) at the command line to test mono works, and note the version number (1.0.5, at the time of this writing).
NOTE If you are not planning on installing Mono from SVN later, there is a way to get debian packages for a more recent version of Mono (1.1.6 and higher). See these notes for info on getting backported mono packages.
Download source code from SVN
Compile and Install Mono
Note You may want to replace the /usr/local prefix with just /usr in all the autogen commands on this page.
Type "/usr/local/bin/mono -V" to see that mono is working and the version number is higher than before.
Remove the old mono
Add mono to your path:
And add this line to the end, then save and close:
We need to set the LD_LIBRARY_PATH permanently:
Now when you use terminal again, you can just type mono to get the new version instead of having to type /usr/local/bin/mono.
If you have problems along the way try the #mono irc channel.
Compile and install GTK# and other mono libs
Now compile and install other mono software we need for MonoDevelop:
Check that the new gtk-sharp assembly was installed to the mono GAC:
Here are instructions for either installing the latest boo binary release (easier), or compiling boo from svn yourself.
Installing boo binary release:
Installing boo binary release: Change the boo version to most recent available at the Download site.
Installing boo from svn
Installing nant and ikvm. cd into your svn folder and type (check the ikvm and nant websites for the most up to date version):
Add shell script wrappers for nant and ikvm in /usr/local/bin/ (so you can just type "nant" or "ikvm" to get them to work)
Type "sudo gedit /usr/local/bin/nant" and paste in these contents (change path to your path to nant):
Then type "sudo chmod 755 /usr/local/bin/nant".
Type "sudo gedit /usr/local/bin/ikvm" and enter:
Then type "sudo chmod 755 /usr/local/bin/ikvm". (type "sudo ln -s /usr/local/bin/ikvm /usr/local/bin/java" if you don't plan on installing java)
Now we download, compile and install boo itself.
We need to change one little thing in the build file: (unless you have java installed, or you created a "java" alias to ikvm in /usr/local/bin)
Now compile by typing:
Type "gacutil -l Boo.Lang.Compiler" to test that it installed.
booish, booi, and booc will be under /usr/local/lib/boo/
You can test the booish interpreter like so:
It should work if /usr/local/bin was added to your PATH.
Compile and Install MonoDevelop
If you get errors compiling, I had to change SetDefaultSortFunc(...) to DefaultSortFunc = ... in a couple of files.
Note also, MonoDevelop sources may not be in sync with the very latest svn version of boo obviously.
Test by entering "monodevelop &" on the command line.
cd into the svn folder and type:
to update the sources. You then have to repeat the steps to recompile and install the software.
Note Run "sudo nant uninstall" in the boo folder to remove the old boo dlls before recompiling and reinstalling a new version of boo.
If you have errors, please ask for help on our IRC Channel or the #monodevelop IRC channel on irc.gimp.net.