English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-11-17 02:37:00 · 7 answers · asked by Anonymous in Computers & Internet Programming & Design

7 answers

Yes and No. There is an open source development effort called Mono (a port of .NET) which aims to make .NET applications run on non-Windows OSs.

Though desirable, certain .NET framework functionality does not make much sense on a Linux platform with obvious examples being registry access and support for some threading models.

Having said this I think where your .NET will run on Linux has a lot to do with what sort of assumptions that application makes about its environment... for example, does it assume it is running in an environment where the OS provides registry access (implying Windows) or does the application use INI or XML files for its settings or does the .EXE have hard coded paths within which assume Windows style paths e.g. "C:\Program Files\" as opposed to Linux's "/usr/bin/geek/" style.

As you can probably see, if your .NET application does not necessarily make too many assumptions about its environment it can easily run on Linux over Mono.

http://www.mono-project.com/Main_Page
http://www.mono-project.com/FAQ:_General#Can_Mono_run_binaries_produced_by_Visual_Studio.3F


****Please note also that I'm not entirely confident about the ability to run an precompiled .EXE on Linux. I made the assumption that you willl be compiling the .EXE from source. But then again there is all that stuff about MSIL (Microsoft Intermediate Language - which is a CPU-independent set of instructions that can be efficiently converted to native code) and how compiled .NET binaries are actually intermediate MSIL and like Java, are then compiled into native code on in the actual run environment.... or something like that. (http://www.codeguru.com/Csharp/.NET/net_general/il/article.php/c4635/)

Perhaps because using MSIL, precompiled .NET binaries can be run on both Windows and Linux. I really not a master on the compilation semantics and all... but I hope you get a rough idea.

2006-11-17 03:14:38 · answer #1 · answered by Tamayi M 2 · 0 0

Linux can't run .exe without Wine. Antivirus isn't mandatory for Linux as there are actually not any viruses written for it. in case you prefer to renowned extra approximately Linux watch some youtube movies, acquire a unfastened handbook, and pass to Ubuntu's internet site.

2016-10-22 06:14:17 · answer #2 · answered by ? 4 · 0 0

YES.

Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix.

See link for details.

I don't know why you want to though, use Java on Linux instead.

2006-11-17 03:42:24 · answer #3 · answered by Leeky Wind 2 · 0 0

An exe normally can't run directly on Linux, but using emulators like WINE, you can get some exes to run. If you install the .net framework through WINE, it should be possible to run you .exe.

2006-11-17 02:57:14 · answer #4 · answered by Isofarro 3 · 0 0

Windows applications can run with wine,winex and cedega... WineX is required for those applications that need DirectX.. .NET applications can be run from Linux after instaling the mono platform. More info here:

2006-11-17 02:57:36 · answer #5 · answered by agent-X 6 · 0 0

No.

.exe files of any kind cannot run on Linux - exe files are compiled for use in windows.

If you have the source binary, you may be able to compile it into a Linux executable using the make command.

2006-11-17 02:43:17 · answer #6 · answered by Che jrw 6 · 0 1

It depends on which Linux you are using.

Example: Red Hat, Suse, Ubuntu.

2006-11-17 02:43:46 · answer #7 · answered by Jack8274 1 · 0 1

fedest.com, questions and answers