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.
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
- For ARM32, switch "arm64" to "arm" in the link above.
- For .NET Core 3.1, you can get the download link @ https://dotnet.microsoft.com/download/dotnet-core/3.1 (look for ARM binaries).
.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
The following steps can be used to try out .NET Core.
dotnet new console -o app
cd app
dotnet run
i'm running arm64 ubuntu, why don't the regular ubuntu instructions just work?