[Mono-devel-list] Need help getting started

[XG]Boomer xgboomer at xg-clan.com
Tue Jul 8 13:49:33 EDT 2003


Op di 08-07-2003, om 19:31 schreef Kohli, Naveen:
> I am trying to start development of .Net apps on Linux 9.0. Could
> someone point me to some resource that could explain how to set up the
> framework on Linux system. I am not very familiar with Linux OS and
> how apps are installed on it. I tried to go through the docs from web
> site, but could not make much out of it. I am looking for some dummies
> kind of document that explains it.
> 
> Thanks.
> 

Hi,
Linux 9.0 do you mean Red Hat Linux 9.0 ?
In that case it's not at all hard to get everything to work.

There are 2 easy options
1) RPM based install
2) Red-Carpet install

Since I assume you are familiar with the Windows operating system,
think Red-Carpet as a tool simular to Windows Update
(www.windowsupdate.com)

How to get Red-Carpet

Download these files if you are using Red Hat 9
http://www-files.ximian.com/red-carpet/redhat-9-i386/rcd-1.4.3-0.ximian.6.1.i386.rpm
http://www-files.ximian.com/red-carpet/redhat-9-i386/red-carpet-2.0.1-0.ximian.6.1.1.i386.rpm

Then you can run these files by double clicking them in your Window
Manager or you can install them trough the console (as root)

rpm -Uvh red-carpet-2.0.1-0.ximian.6.1.1.i386.rpm
rpm -Uvh red-carpet-2.0.1-0.ximian.6.1.1.i386.rpm

After installing you need to run red-carpet
- Open a linux console, log in as root or use the su command to become
root and type red-carpet

Red-Carpet will load and you can then select Mono and Gtk-Sharp from the
Channels list. 
Then goto "Available software" and select Mono and GTK-Sharp from that
list and mark the packages for install (right-click --> mark for
install)

Once you've done that you can just click "Run Now", it will download
and install Mono for you.

This approuch although a bit more work than the normal RPM install
will allow you to update automatically when mono 0.26 or any other
version is released.

If you are using another linux surf to
http://www.ximian.com/products/redcarpet/download.html
and select the linux version you have.


If you don't want to use red-carpet goto
http://www.go-mono.com/download.html and download all files for RH9

Then install them by either double clicking them in your Window manager
or using rpm -Uvh nameofrpmfile in the console (as root)

The installation of applications on linux is indeed not always
very easy, that's why I hope one day Mono will bring xcopy deployment to
the Linux operating system.

After installing mono,
you can create a simple C# application and compile it with 

mcs mycsharpapp.cs

then you can run it with 

mono mycsharpapp.exe

(both commands in the console of course, and you don't have to be root)

For more information: http://www.go-mono.com/tutorial

Hope this helps you out.

Tim.











More information about the Mono-devel-list mailing list