Last active
September 17, 2018 12:15
-
-
Save michaeldimoudis/72bc94a01e8c206800f4fe424613c90d to your computer and use it in GitHub Desktop.
Install .NET Core 2.1 on Linux arm (Raspberry Pi - Raspbian)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will use the apt-get package manager to install three prerequiste packages. | |
sudo apt-get install curl libunwind8 gettext | |
# Download the latest .NET Core Runtime for ARM32. This is refereed to as armhf on the Daily Builds page https://github.com/dotnet/core-setup | |
wget -O dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.1/dotnet-runtime-latest-linux-arm.tar.gz | |
# Create a destination folder and extract the downloaded package into it. | |
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet | |
# Set up a symbolic link to a directory on the path so we can call dotnet | |
sudo ln -s /opt/dotnet/dotnet /usr/local/bin | |
# Test the installation | |
dotnet --help | |
dotnet --info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment