在Ubuntu 14.04 LTS上安装Mono 3.4.0和MonoDevelop 4.2.2

我在安装最新版本的mono和monodevelop时遇到了一些问题。解决问题后,我决定为有需要的人发帖。

The process below worked perfectly on my lap top Alienware MX11R3

1-)下载Mono Run time

http://download.mono-project.com/sources/mono/mono-3.4.0.tar.bz2

2-)提取tarball

tar -xjvf mono-3.4.0.tar.bz2

3-)安装

cd mono-3.4.0
./configure --prefix=/usr/local
make
sudo make install

4-)安装MonoDevelop Deps

sudo apt-get install libglade2.0-cil-dev 
sudo apt-get install gnome-sharp2

5-)将库放入Gac

cd /usr/lib/cli

sudo gacutil -i glib-sharp-2.0/glib-sharp.dll &&
sudo gacutil -i atk-sharp-2.0/atk-sharp.dll &&
sudo gacutil -i gdk-sharp-2.0/gdk-sharp.dll &&
sudo gacutil -i gtk-sharp-2.0/gtk-sharp.dll &&
sudo gacutil -i glade-sharp-2.0/glade-sharp.dll &&
sudo gacutil -i pango-sharp-2.0/pango-sharp.dll &&
sudo gacutil -i gnome-sharp-2.24/gnome-sharp.dll && 
sudo gacutil -i gconf-sharp-2.0/gconf-sharp.dll &&
sudo gacutil -i gnome-vfs-sharp-2.0/gnome-vfs-sharp.dll

6-)下载MonoDevelop

http://download.mono-project.com/sources/monodevelop/monodevelop-4.2.2-2.tar.bz2

7-)提取tarballs

tar -xjvf monodevelop-4.2.2-2.tar.bz2

8-)安装

cd monodevelop-4.2.2
./configure --prefix=`pkg-config --variable=prefix mono`
make
sudo make install

请享用。

ps:对不起,我假装回答一个问题,但是在注册帐号后,我丢失了问题并发布了这个,将格式更改为更有用。如果这篇文章太糟糕了,没有任何用处,请告诉我,我会删除

尝试这个ppa为Mono 4.x https://launchpad.net/~keks9n/+archive/monodevelop-latest

sudo add-apt-repository ppa:keks9n/monodevelop-latest

apt-get update

apt-get install mono-complete
http://stackoverflow.com/questions/23798243/installing-mono-3-4-0-and-monodevelop-4-2-2-on-ubuntu-14-04-lts

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:在Ubuntu 14.04 LTS上安装Mono 3.4.0和MonoDevelop 4.2.2