Ubuntu 14.04 上安装 C Sharp 开发环境。

1.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update

2.

echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list

3.

sudo  apt-get install mono-complete monodevelop


检查  C# 编译器 版本:

$ dmcs  --version
Mono C# compiler version 4.2.1.0
ILasm 版本:

$ ilasm --version
Mono ILasm compiler version 4.2.1.0

4. 执行

monodevelop
打开一个 IDE.


Reference:

1. http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives

2.http://webcem01.cem.itesm.mx:8005/apps/s201313/tc3040/notes_installing_csharp/

你可能感兴趣的:(Programming,Language)