4 ms·
I wished they made the ecosystem as easy as Go to install on Linux. Last time I "tried" to get into F# (The lang looks really good). I was lost between mono and
by rawoke083600 6y ago
I wished they made the ecosystem as easy as Go to install on Linux. Last time I "tried" to get into F# (The lang looks really good). I was lost between mono and .net and the other 1000000 gazillion libraries I had to install to get a basic dev-env. After giving up half my SSD in storage, I still had env issues. :/
- Barrin92 6y agoNowadays it's pretty straight forward. Just run `sudo snap install dotnet-sdk --classic`, install plugins for fsharp for vscode and you're good to go.
- rattray 6y agoWhat's the --classic flag for? Just curious
- chusk3 6y agoWorth noting that snap installs aren't supported in the vscode tooling for F#. There's an open issue and I have a handle on some of the core problems, but they invalidate a ton of assumptions we have. The safer route is to install the non-snap-based versions. (I maintain this tooling, for what it's worth)
- deleted 6y ago[deleted]
- phillipcarter 6y agoYou can follow this guide for installing on your distro of choice: https://docs.microsoft.com/en-us/dotnet/core/install/linux https://docs.microsoft.com/en-us/dotnet/core/install/linux Unless you have a reason to only use LTS releases, install .NET 5. I suppose this doc could clarify that 3.1 is an LTS and .NET 5 is a "current" (but newer and better).
- pharmakom 6y agoSame, but it’s much better now. The best combination in my experience is: - .Net Core 5 - VS Code - Ionide
- Multicomp 6y agoliterally yesterday I installed the above from nothing and was trying out some F# for fun and profit code within moments...amazing how far the tooling has come from even 2 years ago
- angio 6y agoMy experience is the opposite, with .NET Core I can manage multiple versions of the SDK with my linux package manager and not an external tool. Then in each project I specify which SDK I want to use and what dotnet tools to install.
- mumblemumble 6y agoIt's become a lot easer with the .NET 5 release from a couple months back. https://devblogs.microsoft.com/dotnet/announcing-net-5-0/ https://devblogs.microsoft.com/dotnet/announcing-net-5-0/
- 3836293648 6y agoIsn't F# essentially just OCaml on .NET? Wouldn't OCaml be easier to get running?
- mumblemumble 6y agoIn the same way that Objective-C is just C++ on OS X. https://news.ycombinator.com/item?id=25989061 https://news.ycombinator.com/item?id=25989061