Created
June 6, 2009 16:02
-
-
Save igal/124888 to your computer and use it in GitHub Desktop.
Install F# on Ubuntu 9.04 -- sorta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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