Use Mono to do .NET application development under Linux

zhaozj2021-02-12  168

ZDNet China

We have to admit that the Mono project has become the most expecting desire to be destroyed in the open source project for developers. Its appearance allows .NET Framework to run on Linux and other platforms for the first time. Expand the deployment of your application to a larger range. Recently, the Beta3 version of the Mono project has been released. In this article, I hope to make you understand how to get the Mono's Beta3 version, and how to run it in your Linux system, how to run your first .NET application via the Mono platform. If you are a developer under a Windows platform, if you are thinking about using Linux as a host of your .NET application. Then Mono Beta has a good way to make you test and debug your app on your Linux platform. Reminder: Mono Beta 3 is only used to test, is not recommended as a product to use. We use Red Hat 9.0 as a platform that we explain this article to install and configure MONO. If you don't have Red Hat or other version of Linux servers now, you can download the Red Hat ISO file installation from Here. However, if you don't have an idle computer or server to run Redhat, you can install a double start on your computer, or you can make a virtual machine through the software, such as VMware. But please pay attention to the Red Hat. Installation instructions. When you install the Red Hat and run the Red Hat, you need to do it next to download Mono Beta3 from Go-Mono Web Site. Please note that Mono for different operating systems has a different version. ? Fedh 9.0 / x86? Fedora core 1 / x86? Fedora Core 2 / x86? SLES 8 / X86? SUSE 9 / X86? SUSE 9.1 / x86? Windows (2000 and Above)? Mac OS X For this article, you The version that needs to be downloaded is Red Hat 9.0 / x86 Version .. There are two different downloads. One is a relatively large-sized ZIP format file, which contains all the RPM files required. Another is separately downloaded every separate RPM file you want. About rpm If you are a linux new hand, you feel unfamiliar with RPM. RPM is "Red Hat Package Manager" it is a standard file format. The file management format usually on Linux is RPM. You can learn more RPM in Here. Of course, the most convenient way is to download the ZIP file containing all the RPM files you want. When you download, and decompress the ZIP package. You will see a lot of independent RPM files. At this point you can double-click every RPM file to install it one by one. But this approach needs to pay attention to the subordinate relationship of the installation, the order. Therefore, a relatively simple installation method is a unified installation of the RPM file through the way. First of all, you have to ensure that you log in with root, then enter all of these packages files at a time. RPM -UVH - Nodeps * .rpm If you have installed a package file, you can use the following command to reintegrate all mono packages. RPM -UVH - NodePs --force * .rpm Skills, when you operate on the RPM file, if you don't remember the command, you can enter rpm -help or view this document here .. Once you have installed all RPM Packages, you also need to test to make sure all MONO components can run.

转载请注明原文地址:https://www.9cbs.com/read-7709.html

New Post(0)