Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mono on Raspberry Pi [closed]

I've seen a lot of talk about running Mono/.NET code on the Raspberry Pi. Has there been any success in actually running any Mono code on a Raspberry Pi?

On their site, they list several Linux distributions that work on the device and some of these distributions include Mono. However, none detail whether Mono works on it.

Is there a working implementation?

like image 572
AngryHacker Avatar asked Apr 18 '12 16:04

AngryHacker


People also ask

Does Mono run on Raspberry Pi?

The process of installing Mono to the Raspberry Pi is straightforward thanks to it being available as a part of the official Raspberry Pi OS package repository. If you are using a desktop version of Raspberry Pi OS, you will need to be using the terminal.

What is Mono for Raspberry Pi?

Mono is an open-source framework that allows users to write cross platform applications based on . Net. For Raspberry Pi users, things become easy once you install Mono on your device as this will open up the opportunity for you to create the . Net applications on Raspberry Pi.

Can you leave a Raspberry Pi running 24 7?

Raspberry Pi can handle 24/7 run time. They are designed to be run for long periods of time without any failures occurring. There is, however, a catch. If you'd like to leave your Raspberry Pi on all the time without damaging it, it needs to be used with a proper linear power supply.


1 Answers

I have managed to run my Delta Forth .NET compiler on Debian 6.0 (Squeeze) and Mono. It worked flawlessly with full binary compatibility, the only thing I had to do was to recompile the code to target .NET 3.5 (instead of 4.0) since Mono on Debian lags a bit regarding .NET versions.

The compiler is not a trivial .NET application so I was happy to actually see the compiler in action on my tiny Raspberry Pi.

The actual steps I took to make the magic happen were (I recall from memory):

  • Install the Mono runtime using: sudo apt-get install mono
  • Invoke the compiler itself using: mono DeltaForth.exe file_to_compile.4th

That is all. The most challenging part of this endeavor was to transfer the files from my Windows machine to Raspberry Pi using a flash drive :-)

like image 94
vbocan Avatar answered Sep 19 '22 01:09

vbocan