Installing F# on Ubuntu Linux


(1) Install mono and extra libraries

sudo aptitude install mono-devel mono-tools-devel
libmono-winforms2.0-cil libmono-system-runtime2.0-cil

Optionally, install also the debugger and the jit:

sudo aptitude install mono-debugger mono-dbg mono-jit


(2) Download F# for linux

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=f8c623ae-aef6-4a06-a185-05f59be47d67&displaylang=en

unzip fsharp.zip


(3) Set environment variables.  You probably want to put these
definitions in your ~/.bashrc file to make them permanent.

export MONO_PATH=/path/to/FSharp-2.0.0.0/:$MONO_PATH
export PATH=/path/to/FSharp-2.0.0.0/bin/:$PATH

Note: if you may also need to add /usr/lib/mono/3.5/ to your $MONO_PATH.
 


(3) Run it

fsi.exe - interactive f# shell
fsc.exe - f# compiler

 

(4)  Install F# PowerPack:  http://fsharppowerpack.codeplex.com/