How to install .NET Core on a Raspberry PI

If you have a Raspberry Pi 3 with Raspbian on it, you can easily install and configure .NET Core on it. For this, we’ll need to find the build of dotnet core we want to install. You can get the SDK and runtime from this link 'Download .NET Core'. Choose the one you need and copy the link of the build for the next step.

Hint: The Raspberry Pi 3 was built with an x64 processor but still has a 32bit architecture. So, you can use Linux .NET Core binaries for ARM32.

.NET Core 2.2 is the recommended version when I am writing this blog and the same is going to install on my Raspberry Pi 3. SDK and runtime can be downloaded from the below links.

Open your terminal and download the SDK and runtime packages using the below commands.

Once it is downloaded, extract it. You can set it up as a user off $HOME or in /opt/dotnet and then link to /usr/local/bin. You can do this by executing the below commands.

That’s it!. Your .NET Core installation is completed. You can run "dotnet --info" to see if it works.

Comments

Popular Posts