Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standalone executables with mono on linux?

Tags:

linux

mono

Using Mono on Linux, is there any way to create a standalone executable which will run on systems without mono installed?

like image 685
kdt Avatar asked Sep 11 '09 14:09

kdt


People also ask

What kind of runtime is provided by Mono for compilation?

The Mono runtime contains a code execution engine that translates ECMA CIL byte codes into native code and supports a number of processors: ARM, MIPS (in 32-bit mode only), SPARC, PowerPC, S390 (in 64-bit mode), x86, x86-64 and IA-64 for 64-bit modes.

What is mono command in Linux?

The mono command executes a compiled Mono program in the virtual machine. mono uses a just-in-time compiler (JIT) to translate the compiled CIL bytecode to machine code for execution. The Hello.exe program can be run with mono Hello.exe.

Can Mono run .NET framework?

So, after all these years of its evolution, mono is capable of running many of original . NET Framework application types on operating systems other than Windows.


1 Answers

You should take a look at the mkbundles command. It can static link all the required libraries and the CLR along with your app into one exe.

Also check out this page on the different ways of running mono applications.

like image 195
Simon P Stevens Avatar answered Oct 19 '22 08:10

Simon P Stevens