TIDE
Languages

F#

Installing F# on Ubuntu in TIDE

F#

F# is a succinct, robust, cross-platform functional-first programming language built on .NET. It empowers developers to write performant code for web, cloud, data science, and enterprise applications.

Installation

F# is included with the .NET SDK. Install the .NET SDK on Ubuntu via apt:

apt update
apt install -y dotnet-sdk-8.0

Verification

Verify the .NET SDK installation:

dotnet --version

Writing and Compiling Code

Create a new F# console project:

dotnet new console -lang "F#" -o HelloFSharp
cd HelloFSharp

The default Program.fs file contains:

printfn "Hello, World!"

Run the application using dotnet:

dotnet run

Official Resources

On this page