0

Installing the Environment: Part 2.5

Posted by Erik Gaius,aka [ K i r E ] on Thursday, March 26, 2009, 1:57 PM in ,
Here's how I installed my whole Application Development Environment for Dot Net Applications from a clean formatted Hard Drive. Take note that the whole thing took about half a day (not including the ISO & update downloads) but of course results may vary. I'm not telling you to reformat your PC~ Just take what you need and leave the rest.

ADE4dotNet Installation Roadmap:
Part 1 ~ Ubuntu 8.10 & ndiswrapper
Part 2 ~ Mono 2.2
Part 2.5 ~ Mono-Basic & Mono-Develop ^^
Part 3 ~ Hello Worldz!

Let's get this parteh started!
~+~+~+~

Sorry for the delays~! I was messing with the Mono 2.2 for a while now, and I was wondering why the Visual Basic.Net compiler wasn't working. Typing the command below~
$ vbnc
gives a command not found. Even an 'apropos mono' doesn't show the vb compiler, even though the C# compiler is there. So I asked around and found put that VB.Net comes in another package, seperate from the core Mono 2.2, which only comes with the C# compiler. Here's a quick set of commands to set the VB.Net compiler up in a few minutes.

1.) As with any other Linux Installation tutorials in the web, I'll start with the following command~ We need root powers. Type in your administrator password after the line below.
$ sudo bash

2.) The next set of commands will download, extract & install the Visual Basic.Net compiler to your system PROVIDED that you have successfully installed Mono 2.2 as per the last tutorial (Installing the Environment: Part 2).
# wget http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.2.tar.bz2
# tar xaf mono-basic-2.2.tar.bz2
# cd mono-basic-2.2
# ./configure
# make
# make install
# cd
Again, the cd at the bottom is not really needed- I just want to get back to 'home' for the next tutorial ^^

3.) The installation was awfully quick compared to the Mono install, so to make sure everything's a-Ok, type 'vbnc' at the terminal now. 'Visual Basic.Net Compiler version 0.0.0.5913 (Mono 2.2 - r)...' should appear~~

Now, lets get on with the show! Mono-Develop is a free GNOME IDE primarily designed for C# and other .NET languages. It looks a lot like Visual Studio.Net, except it's not picky when it comes to operating systems. Let's start the installation. (Note: Don't forget to 'sudo bash'!)

1.) Install Mono-Dev Dependencies & Documentations. The application has three main dependencies (and one documentation package), and although all three are quite small and their installation are all simple, make sure that you do this correctly. Messing the dependecies up will cause you trouble later. The first is the Mono Add-ins 0.4~
# wget http://ftp.novell.com/pub/mono/sources/mono-addins/mono-addins-0.4.zip
# unzip -q mono-addins-0.4.zip
# cd mono-addins-0.4
# ./configure
# make
# make install
# cd
The next is GTK# 2.12.7
# wget http://ftp.novell.com/pub/mono/sources/gtk-sharp212/gtk-sharp-2.12.7.tar.bz2
# tar xaf gtk-sharp-2.12.7.tar.bz2
# cd gtk-sharp-2.12.7
# ./configure
# make
# make install
# cd
The third dependency is called Gnome# 2.20.1
# wgethttp://ftp.novell.com/pub/mono/sources/gnome-sharp220/gnome-sharp-2.20.1.tar.bz2
# tar xaf gnome-sharp-2.20.1.tar.bz2
# cd gnome-sharp-2.20.1
# ./configure
# make
# make install
# cd
And the last one's the documentation:
# wget http://ftp.novell.com/pub/mono/sources/monodoc/monodoc-2.0.zip
# unzip -q monodoc-2.0.zip
# cd monodoc-2.0
# ./configure
# make
# make install
# cd
This one might take a while, since its an 18MB download. I'm not sure if this file's really needed, but I recommend installing it just to be safe. ^^

2.) Installing Mono-Develop. I'm sure you've noticed the pattern here~ ^^ Download the tar file using wget, uncompress using tar/unzip, configure using ./configure then compile using make- these are the basic principles in installing from source files.
# wget http://ftp.novell.com/pub/mono/sources/monodevelop/monodevelop-1.9.3.tar.bz2
# tar xaf monodevelop-1.9.3.tar.bz2
# cd monodevelop-1.9.3
# ./configure
# make
# make install
# cd
After that's done, try Mono-Develop out by clicking Mono-Develop at Applications~Programming~Mono-Develop!

3.) Additional Add-in: Database support. Soon, Mono will be able to use LINQ, the revolutionary technology that makes data manipulation a breeze (the september Mono release should come with full LINQ support). But even without LINQ, databases are essential to most applications. Here's the source files of Mono-Dev database support. Just follow the instructions above to install.

OK! That's that for Mono-Basic & Mono-Develop! As usual, your comments, suggestions and questions are most welcome! Just click the post-it note at the right side of this post's title.. Next up is to try everything out with the quintessential "Hello World!" App~! See ya tommorow!

0 Comments

Post a Comment

Copyright © Gains & Hart Co. 2009 .Net.ph All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.