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


(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-$MONO_PATH
export PATH=/path/to/FSharp-$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: