Have you tried ML.NET?
It's a new machine learning framework made specifically for .NET developers.

Thanks for downloading
.NET 5.0 SDK (v5.0.100-preview.4) - Linux x64 Binaries!

If your download doesn't start after 30 seconds, click here to download manually.

Step 1: Install SDK

Dependencies and requirements

Make sure your system meets the .NET dependencies and requirements.

Install SDK

When your download completes, open a terminal and run the following commands to extract the SDK and make the commands available at the terminal.

mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-5.0.100-preview.4.20258.7-linux-x64.tar.gz -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet

The above commands will only make the .NET SDK commands available for the terminal session in which it was run.

You can edit your shell profile to permanently add the commands. There are a number of different shells available for Linux and each has a different profile. For example:

  • Bash Shell: ~/.bash_profile, ~/.bashrc
  • Korn Shell: ~/.kshrc or .profile
  • Z Shell: ~/.zshrc or .zprofile

Edit the appropriate source file for you shell and add :$HOME/dotnet to the end of the existing PATH statement. If no PATH statement is included, add a new line with export PATH=$PATH:$HOME/dotnet.

Also add export DOTNET_ROOT=$HOME/dotnet to the end of the file.

Step 2: Verify Installation

Run the dotnet command in your terminal. This will verify .NET is correctly installed and ready to use.

Step 3: Get Started

Now that you've got .NET installed, let's build your first app with our step-by-step tutorial.

Hello World in 10 minutes tutorial

Ready to Get Started?

Our step-by-step tutorial will help you get .NET running on your computer.

Supported on Windows, Linux, and macOS

Get Started