Ubuntu14.04 安装 MonoDevelop 指南
来源:互联网 发布:淘宝童装批发市场 编辑:程序博客网 时间:2024/05/17 02:34
前言:
费几天时间总是不能顺利搞定,好在找到这篇帖子,这是已经验证了安装过程步骤,可以节约大家的几天时间,尤其是 从windows 平台转 linux 平台的开发人员。
How to install the latest MonoDevelop on Linux
This tutorial is mostly outdated! Please see the current blog roll and the installation page for further installation instructions.
There’s also an independent MD + Mono bundle available for all linux distros: http://simendsjo.me/files/abothe/ - Un-XZ it to /opt/mono and launch monodevelop via executing /opt/mono/bin/monodevelop!
Note: If there is no mono/gtk# release available for your Linux distribution, head to the lower section!
You can open up the terminal and install it via the following:
sudo add-apt-repository ppa:keks9n/monodevelop-latest
sudo apt-get update
sudo apt-get install monodevelop-latest
If you wish to compile MonoDevelop from source, try the following in the terminal:
- “sudo apt-get install git” -> skip if you already have git installed
- “sudo apt-get install mono-devel”
- “sudo apt-get build-dep monodevelop” -> this downloads dependencies for compiling monodevelop
- “git clone git://github.com/mono/monodevelop.git”
- “cd monodevelop”
- “./configure” -> at this stage you may want to select other addin packages in the build, but you may need to install other packages (e.g. ValaBinding needs “libvala-0.12-dev”). Also, i never got it to work by selecting all anyway.
- “make”
- “make install” -> note: this installs to the default prefix of “/usr/local”
- “monodevelop” -> launches monodevelop
If you already have the repository code checkout, and want to pull the latest changes, go straight to step 5) then do a “git pull”, and then continue on with step 6)
Build the MonoDevelop requirements manually
a) Build mono:
- sudo apt-get build-dep mono
- sudo apt-get install mono-gmcs
- git clone https://github.com/mono/mono.git
- cd mono
- ./autogen.sh –prefix=/usr/local
- make -j5 2>&1 | tee build.log
- sudo make install
- sudo apt-get remove mono-gmcs
b) Build mono-addins:
- git clone https://github.com/mono/mono-addins.git
- cd mono-addins
- ./autogen.sh –prefix=/usr/local
- make -j5 2>&1 | tee build.log
- sudo make install
c) Build gtk#:
- git clone -b gtk-sharp-2-12-branch https://github.com/mono/gtk-sharp.git
- cd gtk-sharp/
- ./bootstrap-2.12 –prefix=/usr/local
- make -j5 2>&1 | tee build.log
- sudo make install
d) To install MonoDevelop, proceed like shown in the upper section
Note: It’s needed to run monodevelop with the environment variable
LD_LIBRARY_PATH=/usr/local/lib/monodevelop
(otherwise there will be an error about glibsharpglue-2 not being found)
If anyone has any instructions on how to get the latest monodevelop on fedora, suse, etc.. please let me know so that I can add it to this post.
Post navigation
16 thoughts on “How to install the latest MonoDevelop on Linux”
- Ubuntu14.04 安装 MonoDevelop 指南
- 记 Ubuntu14.04 Monodevelop 安装的两个问题
- Ubuntu14.04安装caffe指南
- ubuntu14.04+ROS Indigo +Kinectv2安装指南
- ubuntu14.04 + mxnet + python2.7 安装指南
- Ubuntu14.04中ROS的安装指南
- Caffe+Ubuntu14.04+CUDA6.5新手安装配置指南
- ubuntu14.04 + caffe + python2.7 + CPU安装指南
- MonoDevelop 安装手记
- MonoDevelop 安装手记
- Mono及MonoDevelop安装
- Ubuntu 14.04安装MonoDevelop
- MonoDevelop
- MonoDevelop
- Ubuntu14.04上深度学习Caffe库安装指南(CUDA7.5 + opencv3.1)
- 关于在vmware虚拟机里面的Ubuntu14.04TLS上面安装Jupyter notebook指南
- 【Caffe】Caffe,CUDA,cuDNN安装指南,以及各种问题的解决方法(Ubuntu14.04)
- ubuntu14.04+cuda8.0+cudnn5.1+caffe+anaconda完整安装指南
- 如何修改bootargs参数使u-boot从网络引导内核
- nyoj-23取石子(巴什博奕)
- 今天一天开发的内容!修复了几个Bug,开发了一些新的功能!
- 博弈
- Spring 的事务处理
- Ubuntu14.04 安装 MonoDevelop 指南
- 《解读window核心编程》 之 注册表
- OC基础—内存管理之引用计数器
- Mongodb数据的备份与恢复
- 美国上诉法庭已裁定苹果可以起诉摩托罗拉
- SharedPreferences最佳实践
- VNC 访问ubuntu全屏自启动
- EXCEL:读取文本文件到EXCEL并对数据列进行格式化
- PHP array_count_values() 函数
Hello, I use Ubuntu 12.04 and chose the first way(repository way) to install monodevelop.
After installation is finished, I click on monodevelop icon to start the app, but the version is 3.1.0 – not 4.x …
What’s wrong? Please help.
Thanks in advance!
Hi, you probably didn’t read the last instruction which is to execute /opt/mono/bin/monodevelop in order to get it launched. There won’t be a desktop icon for it by default.
Hi there!
Thanks for this package. some notes to make it better.
- The new XSP is stable but it should be run with admin privileges (sudo mono …). otherwise it will report some files are missing or not found. (so please include it too)
- `mono -V` command does not show the latest mono version. it’s not 3.2.1 for instance. it should be corrected.
- because it’s pointing to v2.0 and not 3.0, I should set the following commands to run applications in monodevelop
export PATH=/opt/mono-3/bin:$PATH
export PKG_CONFIG_PATH=/opt/mono-3/lib/pkgconfig:$PKG_CONFIG_PATH
mono -V
Hi Alex,
Thanks for the post – good information.
AFAIK, you don’t need Xsp for MonoDevelop, though you will need it (as well as other Mono things) if you intend to run Mono apps against Apache.
The command to get the Mono version is: mono –version.
If you add the path to Mono in ~./.bash_profile, it will be permanently in your PATH; you won’t have to export the PATH when you reboot.
Likewise, don’t set LD_LIBRARY_PATH, instead, create an ldconfig file, say: monodevelop.conf, in /etc/ld.so.conf.d, with the /usr/local/lib/monodevelop line in it, then run ldconfig.
Happy coding, Rob