I can\'t seem to find a compiler/plugin for mono. Does one exist?
This will give you the basic functionality which means you will be able to run "mono fsi.exe" and compiled F# apps as "mono myApp.exe".
Usefull tips:
It makes sense to create scripts for the compiler and F# interactive. i.e.:
/usr/local/bin/fsc
#!/bin/sh exec /usr/bin/mono /usr/local/src/FSharp-1.9.9.9/bin/fsc.exe $@
/usr/local/bin/fsi
#!/bin/sh exec /usr/bin/mono /usr/local/src/FSharp-1.9.9.9/bin/fsi.exe $@
F# interactive (fsi.exe) is trying to reference System.Windows.Forms by default so in order to run it WinForms support in Mono will be required
fsi.exe works better in Xterm than in Gnome Terminal.
What Piotr Zurek said is basically what i did to get F# and mono to work on Ubuntu 9.04, with the following comments:
Look also here for detailled installation instructions including F# PowerPack and MySQL connector: http://2sharp4u.wordpress.com/2010/09/03/installing-f-2-0-on-monolinux
Yes, there's one. Check this out: F# for Mono
If you are on Ubuntu, follow the following three steps.
Run the following commands.
sudo apt-add-repository ppa:directhex/ppa
sudo apt-get update
sudo apt-get install monodevelop
Start MonoDevelop. go to add-in manager, Gallery > Language bindings > F#, install.
You can download the F# zip file from Microsoft and then run (for example) "mono fsi.exe".