Install mono2.4 and monodevelop 6.0 in red-flag Linux 2.0

Source: Internet
Author: User

Recently, due to curiosity, I installed a Linux 6.0 with the red flag on my computer. I used mandriva before, but I really don't know much about Linux. I 've been working on Windows. NET development, a little tired, very early attention to mono, hope that one day it will develop the largest, or let me transfer to Linux. haha, Microsoft is really selfish. Why not use Linux. net Framework:

First, I would like to explain how to execute shell commands in red-flag Linux to a friend who does not have much access to Linux.

In Linux, open the terminal

Next, we start to install

1. Install MongoDB 2.4

From http://ftp.novell.com/pub/mono/sources-stable/
Download libgdiplus-2.4.tar.bz2and mono-2.4.tar.bz2, and decompress them.

First go to the extracted libgdiplus-2.4 directory,
[Root @ localhost] # libgdiplus-2.4 CD
Run:
[Root @ localhost libgdiplus-2.4] #./configure
[Root @ localhost libgdiplus-2.4] # Make
[Root @ localhost libgdiplus-2.4] # sudo make install

Run the "CD ../" command to return the root directory and go to the mono-2.4 directory,
[Root @ localhost] # cd mono-2.4
Run:
[Root @ localhost mono-2.4] #./configure -- With-libgdiplus = Yes
[Root @ localhost mono-2.4] # Make
[Root @ localhost mono-2.4] # make install

Possible missing package: Build-essential swig Autoconf gawk mono-common binfmt-support bison PKG-config libglib2.0-Dev, use sudo apt-Get install to install.

2. Install monodevelop 2.0

From http://ftp.novell.com/pub/mono/sources-stable/
Download
Gtk-sharp-2.12.8.tar.bz2,
Mono-addins-0.4.zip,
Gnome-sharp-2.20.1.tar.bz2 and
Monodevelop-2.0.tar.bz2
Decompress and install the tool in sequence. The installation methods are as follows:
./Configure
Make
Sudo make install
Install libgnomeprintui2.2-Dev and libpanel-applet2-dev first when installing gnome-sharp.

3. Install winforms designer

Sudo apt-Get install Subversion
SVN Co SVN: // anonsvn.mono-project.com/source/trunk/mwf-designer
CD mwf-designer
Make
Make run
CD build
Mwf-designer.exe mono

4. Others

Mono winforms: http://mono-project.com/WinForms
Winforms designer: http://mono-project.com/WinForms_Designer
Winforms example: http://mono-project.com/WinForms_Getting_Started_Guide
Mono ASP. NET: http://www.mono-project.com/ASP.NET
Aspnetedit: http://www.mono-project.com/AspNetEdit

Note:

Mono 2.4 fully supports winforms 2.0 and ASP. NET 2.0.
Monodevelop 2.0 supports ASP. NET visual development through aspnetedit, but does not support winforms visual development. winforms designer is used for winforms form design.
The. NET intermediate code that does not use Windows Local code can be directly run in Linux using the "Mono EXE file" method.
When developing a winforms project with monodevelop, you must manually add the assembly system. Drawing and system. Windows. forms.

Related Article

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.