Sunday, January 5, 2020

How to Install .Net Core 3.1 on Raspberry Pi 3

In this post I will show you how to Install .Net Core 3.1 in Raspberry Pi.
Previously I had shown..

Download .Net Core from HERE.


Before Downloading there is no .Net core Installer or deb file for Raspberry. So download ARM Binary file. 

Before that pls check which Binary file is required to Download. 
Check Raspberry Pi 3 processor with below Command

 uname -m
 #or
 cat /proc/cpuinfo























I am using Raspbery PI 3
If processor is 64 then download 64 bit SDK else 32 bit SDK.

Download .Net Core 3.1 SDK:
32 bit: .Net Core sdk 3.1.100 ARM
64 bit: .Net Core sdk 3.1.100 ARM 64bit

Make Directory: sudo mkdir /usr/share/dotnet/
PATH For Current Session:
export PATH=$PATH:/usr/share/dotnet/dotnet
export DOTNET_ROOT=/usr/share/dotnet/dotnet

For Permanent Session after ReBoot:
For every session use below command based on installed path
sudo ln -s /usr/share/dotnet /usr/bin/dotnet
#OR
sudo ln -s $HOME/dotnet/dotnet /usr/bin/dotnet

Extract: sudo tar zxf dotnet-sdk-3.1.100-linux-arm.tar.gz -C /usr/share/dotnet/
Confirm Installation: dotnet --info
























No comments:

Post a Comment