---
title: "ubuntu下构建 .net开发环境"
author: "csstome"
date: "2011-09-05T15:13:00Z"
tags: []
slug: "ubuntu-net"
draft: false
lastmod: "2011-10-28T08:46:44Z"
id: 1219479
url: "https://csstome.iteye.com/blog/1219479"
---

## 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

运行效果：

![](http://hi.csdn.net/attachment/201109/5/0_1315206820ekP5.gif)