Installing Net Core Runtime on Raspberry Pi

Tinkerer: Lory Livezey
In this tutorial, we're going to get the Raspberry Pi ready to run Microsoft NET Core Applications. Net Core is the foundation for applications written in C# using Visual Studio or VS Code, that can be compiled for other platforms, such as Raspbian.
Previous Step
Installing Putty for Windows to Access Raspberry Pi Remotely
What you will need
What is NET Core?
Net Core is a development platform maintained by Microsoft that allows you to develop cross-platform applications for Windows, Mac, Linux and all kinds of devices. If you'd like to learn more about it, you can check out this link:
Microsoft Net Core Documentation
Why NET Core?
There are many options for developing on the Raspberry Pi. Languages and frameworks have their strengths and weaknesses, so the more options you have in your toolbelt, the better solutions you can come up with. I like the combination of using Visual Studio Code, ftp-sync to sync up the code, and NET Core compiled for the Pi. Python is also an excellent language to know and use on the Pi.
Install the Libraries
Update the Pi:
sudo apt-get -y update
Some dependencies:
sudo apt-get -y install libunwind8 gettext
Download and Unzip
wget https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz
sudo mkdir /opt/dotnet
sudo tar -xvf dotnet-runtime-latest-linux-arm.tar.gz -C /opt/dotnet
Create an Alias (Like a Shortcut)
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
Check the Install
dotnet --info
wget https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz
sudo mkdir /opt/dotnet
sudo tar -xvf dotnet-runtime-latest-linux-arm.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
Check the Install
dotnet --info
dotnet --info
Next Up
We can't create apps directly on the Raspberry Pi (yet). We'll need to write them on our PC or Mac and then compile for the Pi and publish. We'll learn to do that in the next video: