5 ms·
Anybody managed to install F# on Ubuntu? There are recommended steps [0] but they've never worked for me even on a new 13.04 (& later) image on DigitalOcean. [
by balsam 13y ago
Anybody managed to install F# on Ubuntu? There are recommended steps [0] but they've never worked for me even on a new 13.04 (& later) image on DigitalOcean.
[0] http://fsharp.org/use/linux/ http://fsharp.org/use/linux/
- profquail 13y agoI use F# on Windows and FreeBSD, but I've used it on Ubuntu a few times before for testing. Here's how I did installed it: git clone git://github.com/mono/mono.git cd mono autogen.sh sudo make install clean cd .. git clone git://github.com/fsharp/fsharp.git cd fsharp autogen.sh sudo make install clean It takes a while to build Mono from scratch, but this way has always worked for me.
- balsam 13y agoYour steps are almost the same as the one I linked. But I tried them, just in case. And it still does not build. The fsharp build fails with some error about casting types. Do you have version details?
- profquail 13y agoTry building the 'fsharp_30' branch instead. The master branch just switched over to F# 3.1, so its possible they haven't worked out all of the bugs for every possible system yet. When I ran F# on Ubuntu before, it was on the x86 version of 12.04 LTS. I used whatever the latest version of Mono was; I don't remember specifically, but it was almost certainly one of the 3.2.x versions. Would you mind posting the build output from your F# build that fails (e.g., to pastebin or Gist)? I can forward it along to the right people so it gets fixed. Or, post it as a Github issue: https://github.com/fsharp/fsharp/issues https://github.com/fsharp/fsharp/issues