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 3.0 on Linux ARM64

The following intructions can be used to install .NET Core 3.0 nightly builds on Linux ARM64. See .NET Core Runtime ARM64 Status for latest quality updates on builds.

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

Installing .NET Core Globally

The following instructions install .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-l
inux-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

Note: The console template is currently wrong, so you will need to update it to reference .NET Core 3.0 as part of this process. It is a simple change, described in the bug. Fix that before typing dotnet run.

ASP.NET Core is not currently included in .NET Core 3.0 builds. That should be fixed soon.

How to install ARM64 builds

@SuperJMN

This comment has been minimized.

Copy link

commented Jul 16, 2019

Please, join the script above. It says:

"curl -SL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-l
inux-arm64.tar.gz"

There is a line break that spoils the paste for dummies like me ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.