[原]在ubuntu中构建.net开发环境(mono2.4+monodevelop2.0)(一)

在linux下开发.net程序需要用到mono.以下是官方的介绍。

Mono is a cross platform, open source .NET development framework.

今天成功安装mono2.4和monodevelop(2.0),将经验分享出来~

1.首先到http://ftp.novell.com/pub/mono/sources-stable/

   下载mono-2.4.tar.bz2。下到我电脑的是一个乱码文件,重命名为mono-2.4.tar.bz2即可,

    然后解压。

    tar  jvxf mono-2.4.tar.bz2

 

2.然后打开终端,cd到mono的目录,接着输入

    ./configure --prefix=/usr/local

 

3.输入make

 

4.输入sudo make install

 

5.输入mono -V,如果出现以下字样,则安装成功mono.

   Mono JIT compiler version 2.4 (tarball 2009年 04月 14日 星期二 15:35:02 CST)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none


6.安装IDE monodevelop2.0

   到此网址http://www.getdeb.net/release/3085下载deb安装包

   sudo dpkg -i *.deb

   然后,在Applications-编程里可以找到monodevelop。

至此,成功安装了mono和monodevelop

 

备注:我的电脑(ubuntu8.10)直接用apt-get获取到的是mono1.9和monodevelpo1.0版本,如果不在意版本问题,可以用以下命令获取

          sudo apt-get install monodevelop

 

 

 运行效果:

posted @ 2009-04-14 16:30  X.Chen  阅读(1326)  评论(1编辑  收藏  举报