在Centos 6上安装最新的mono [英] Installing lastest mono on Centos 6

查看:207
本文介绍了在Centos 6上安装最新的mono的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的Linux(从字面上新 - 使用它几次),我试图通过yum安装单声道;但我已经得到一个不支持.NET 4的过期版本

I am new to Linux (literally new- used it a couple of times) and I tried to install mono via yum; but I have gotten an outdated version that don't support .NET 4

如何安装单声道2.10.8?

How can I install mono 2.10.8 ?

推荐答案

好吧,这是我想出的,它为我工作:

Well, this is what I came up with and it worked for me:

基于这篇文章:

based on this article:

$yum install bison gettext glib2 freetype fontconfig libpng libpng-devel libX11 libX11-devel glib2-devel libgdi* libexif glibc-devel urw-fonts java unzip gcc gcc-c++ automake autoconf libtool make bzip2 wget

$cd /usr/local/src 

$wget http://download.mono-project.com/sources/mono/mono-3.0.1.tar.bz2

$tar jxf mono-3.0.1.tar.bz2

$cd mono-3.0.1

$./configure --prefix=/opt/mono

$make && make install

然后我下载了 MonoDevelop IDE

Then I downloaded the MonoDevelop IDE and compiled my program using Mono framework.

然后在Centos中我调用我的程序:

Then in Centos I called my program:

/ opt / mono / bin / mono /root/MyFolder/MyProgramDir/myProgram.exe$ @

这篇关于在Centos 6上安装最新的mono的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆