Install Dot Net Core on a Raspberry Pi

Install Dot Net Core on a Raspberry Pi

Once you have the Raspberry Pi up and running with a microSD installed as described here – Setup a Raspberry Pi – you can install DotNet Core by issuing the following commands: –

sudo curl -sSL | bash /dev/stdin --channel STS

echo 'export DOTNET_ROOT=$HOME/.dotnet' >> ~/.bashrc
echo 'export PATH=$PATH:$HOME/.dotnet' >> ~/.bashrc
source ~/.bashrc

After running these commands, DotNet should be installed and configured to enable it to be run from the command line. You can test out the version by entering the following: –

dotnet --version

Hi, my name is Stephen Finchett. I have been a software engineer for over 30 years and worked on complex, business critical, multi-user systems for all of my career. For the last 15 years, I have been concentrating on web based solutions using the Microsoft Stack including ASP.Net, C#, TypeScript, SQL Server and running everything at scale within Kubernetes.