- Go here and download fsharp.zip
- Unzip it and open the created folder
- Open a terminal and run. / install -mono.sh as root (on some systems it is necessary to convert newline characters to script from CRLF to LF)
This will give you basic functions, which means that you can run "mono fsi.exe" and compile F # applications as "mono myApp.exe".
Useful Tips:
It makes sense to create scripts for the compiler and F # interactive. i.e:.
/ Usr / local / bin / LPS
#! / Bin / w exec / usr / bin / mono / usr / local / src / FSharp-1.9.9.9 / bin / fsc.exe $ @
/ Usr / local / bin / FSI
#! / Bin / w exec / usr / bin / mono / usr / local / src / FSharp-1.9.9.9 / bin / fsi.exe $ @
F # interactive (fsi.exe) tries to refer to System.Windows.Forms by default, so Mono will need to run WinForms support
fsi.exe works better in Xterm than in the Gnome terminal.
Piotr Zurek May 7 '09 at 5:03 a.m. 2009-05-07 05:03
source share