The .NET Core SDK is not supported on ARM based devices such as the Raspberry Pi and the .NET Core team is not currently working on supporting it. As mentioned in the announcement, the SDK doesn’t fit within a reasonable performance profile envelope for ARM based devices. They have prioritized getting the Runtime working on ARM over the SDK, which is reasonable as most people will dev on a x64 machine and deploy to ARM devices.
If you try to install the SDK on a Raspberry Pi you will see the following error:
[email protected]:~ $ sudo apt install dotnet-sdk-2.0.2 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package dotnet-sdk-2.0.2 E: Couldn't find any package by glob 'dotnet-sdk-2.0.2' E: Couldn't find any package by regex 'dotnet-sdk-2.0.2'
However, the .NET Core Runtime does support ARM, so you can develop on a supported OS/Arch and then deploy to an ARM device. You will find instructions for deploying to Raspberry Pi here. You can find the list of .NET Core Runtime on ARM issues here.
- .NET Core Runtime ARM Announcement: https://github.com/dotnet/announcements/issues/29
- .NET Core Runtime ARM Issues: https://github.com/dotnet/coreclr/issues?utf8=✓&q=label%3Aarch-arm32
- .NET Core Supported OS/Arch: https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md
- .NET Core on Raspberry Pi: https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md
Hope this saves you some time and points you in the right direction.