Skip to content

Instantly share code, notes, and snippets.

@igal
Created June 6, 2009 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igal/124888 to your computer and use it in GitHub Desktop.
Save igal/124888 to your computer and use it in GitHub Desktop.
Install F# on Ubuntu 9.04 -- sorta
# You can run F# on Linux, FreeBSD, OS X, Solaris and even Windows using Mono.
# Here's how I got F# running on Ubuntu 9.04:
# Install dependencies:
sudo apt-get install mono-gac libmono-system-runtime2.0-cil libmono-winforms2.0-cil
# Download from http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/release.aspx
wget -c http://download.microsoft.com/download/F/7/4/F74A3170-261C-4E8F-B1A8-2E352C61A89B/fsharp.zip
# Extract files:
unzip fsharp.zip
# Go into newly-created directory:
cd FSharp-1.9.*/
# Install the files, sadly this requires root :(
sudo install-mono.sh
# Add execute permissions:
chmod a+rx bin/*.exe
# Run interactive interpreter:
./bin/fsi.exe
# Enter the following, without the leading "###" into the interpreter console:
### printfn "%s" ("Hello Mono, I'm F#");;
# For more details, see:
### http://www.strangelights.com/fsharp/Wiki/default.aspx/FSharpWiki.MonoLinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment