CentOS6.5 64bit Running Mono program

Source: Internet
Author: User
Tags gtk

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.