A few days ago and a technical friend chat, think to Java good, Java can run under Linux, seemingly C # can not Oh, do a try, run Console Program and window program (interface programming, Linux under Java seems to be more annoying it)
Now paste the environment:
Reference: CentOS Installation Mono Platform: http://www.cnblogs.com/shanyou/p/3218611.html
Yum–y Update;
Yum-y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel Giflib-deve libx11-devel freetype-devel fontconfig-devel cairo-devel;
cd/usr/local/src/;
wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
TAR-JXVF libgdiplus-2.10.tar.bz2
CD libgdiplus-2.10
./configure--PREFIX=/USR
Make
Make install
SOURCE Installation:
cd/usr/local/src/
wget http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2
TAR-JXVF mono-3.2.1.tar.bz2
./configure--PREFIX=/USR
Make
Make install
Enter Mono-v If you have mono version information, the installation is successful.
Terminal input mono./test.exe to view console programs
Under the xaamarm to build a simple window program, Linux has been unsuccessful, good depressed ah, finally resolved, the Windows installation sequence:
Linux, and finally refer to this article: http://www.cnblogs.com/SW515/p/3670705.html, I found GTK error during the trial,
If the GTK installation error: Execute the following two lines of command
yum groupinstall "Development Tools"yum install gtk+-devel gtk2-devel
再安装gtk就可以了。
亲测可以运行哦。
CentOS6.5 64bit Running Mono program