Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing .NET Core 3.0 on Linux ARM64

Installing .NET Core on Linux ARM64

The following intructions can be used to install .NET Core on Linux ARM64.

Pro tip: Check out .NET Core Docker files to determine the exact instructions for installing .NET Core builds, for example .NET Core 3.1 ARM32 SDK Dockerfile.

Installing .NET Core Globally

The following instructions install the latest .NET Core globally. It isn't required to do that, but it provides the best experience.

curl -SL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-linux-arm64.tar.gz
sudo mkdir -p /usr/share/dotnet
sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

Dependencies

.NET Core has the following dependencies, on Ubuntu (other distros will vary):

  • libc6
  • libgcc1
  • libgssapi-krb5-2
  • libicu60
  • liblttng-ust0
  • libssl1.0.0
  • libstdc++6
  • zlib1g

Trying out .NET Core

The following steps can be used to try out .NET Core.

dotnet new console -o app
cd app
dotnet run

Other software

@ShikiSuen
Copy link

ShikiSuen commented Jul 22, 2020

@NessInOnett

Sorry for running out of topic, but could you please tell me which linux distro & desktop environment are you using?

@waheedrafiq
Copy link

waheedrafiq commented Jul 22, 2020

@resistancelion
Copy link

resistancelion commented Jul 26, 2020

.NET Core SDK
Version: 3.1.302

Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: linux-arm64
Base Path: /usr/share/dotnet/sdk/3.1.302/

MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
Microsoft.Build.BackEnd.NodeFailedToLaunchException: No such file or directory
---> System.ComponentModel.Win32Exception (2): No such file or directory

similar error on ubuntu 19 arm64...

@brianpopow
Copy link

brianpopow commented Jul 30, 2020

the link to the .Net Core 3.1 ARM Dockerfile seems to be broken, it should be: https://github.com/dotnet/dotnet-docker/blob/master/src/sdk/3.1/bionic/arm32v7/Dockerfile

@Spongman
Copy link

Spongman commented Aug 25, 2020

i'm running arm64 ubuntu, why don't the regular ubuntu instructions just work?

@ryanbuening
Copy link

ryanbuening commented Mar 16, 2022

@richlander I did these steps

curl -SL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-linux-arm64.tar.gz
sudo mkdir -p /usr/share/dotnet
sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
dotnet --version
6.0.100-preview.3.21168.18

and dotnet --version reported 6.0.100-preview.3.21168.18. Is there a way to get the latest non-preview version 6.0.201?

@ryanbuening
Copy link

ryanbuening commented Mar 16, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment