简体   繁体   中英

How to use F# with mono on linux?

我很难弄清楚如何在Linux上使用F# - 我真的很感激帮助。

Well, My box: Ubuntu, mono, fsharp, emacs and fsharp-mode

with fsharp-mode you have

  1. highlighting
  2. interactive console
  3. emacs :-).

Also, you can try to install .net 2.0 on wine (with winetricks for example) together with sharpdevelop 2.2.

Personaly i've decided to use emacs and fsharp-mode.

UPDATE:

another option is to use regular editor such as kate in OCaml mode but it can be inconvenient due to differences between languages.

Here's a similar question with detailed answers: How to get F# working with Mono?

Simple example of compilation command can be found at here: http://gist.github.com/raw/144209/02f2f4450ed8261c5e4f3c18055de89ff0db9612/FebKit.fs

This question is quite old now, but this can help other people. In CodePlex there is a project called F# cross-platform packages and samples. It has some linux packages (and also for Mac). Click here for the download page.

Google for F#, and the very first entry that comes up is http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/ - and one of the first things on that page is:

Download F# now --> Visual Studio 2010, or CTP Update for Visual Studio 2008 or standalone compiler+library ZIP, for Mono and Windows

Have you installed that, and is something not working for you?

Keke, this is a late answer, but I have a post that explains how you can install F# under Linux and Mac systems. It assumes you understand how to compile software for Linux.

Here it is: http://blog.gnucom.cc/2009/installing-f-on-ubuntu-8-04/

Let me know what you think.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM