Skip to content

Instantly share code, notes, and snippets.

@richlander
Last active March 24, 2024 14:54
Show Gist options
  • Star 77 You must be signed in to star a gist
  • Fork 17 You must be signed in to fork a gist
  • Save richlander/467813274cea8abc624553ee72b28213 to your computer and use it in GitHub Desktop.
Save richlander/467813274cea8abc624553ee72b28213 to your computer and use it in GitHub Desktop.
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

@ryanbuening
Copy link

@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

@ksandaru
Copy link

ksandaru commented Jul 9, 2022

DO anyone know the supported .Net core version and how it can be installed on Raspberry pi 3 model B 64bit ARM running with Raspbian os 11?
I already installed .Net core 6.0, but CLI can not identify it when I run

dotnet

@richlander
Copy link
Author

Can you open an issue at dotnet/sdk and CC me?

@ksandaru
Copy link

ksandaru commented Jul 9, 2022

Can you open an issue at dotnet/sdk and CC me?

Sure. Thanks

@Hanprogramer
Copy link

Can this be used in Android?

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