Установка .NET Core на Raspberry Pi3

C Sharp > Установка .NET Core на Raspberry Pi3
06.04.2019 15:08:00


Наиболее часто встречающиеся слова в статье:

[AspNetCore] [/home/dotnet] [Version] [Microsoft] [/home/dotnet/shared/Microsoft] [apt-get] [install] [//download] [visualstudio] [microsoft]


Статья:

Установка .NET Core  на Raspberry Pi3

#!/bin/bash
apt-get update
apt-get install curl libunwind8 gettext
wget https://download.visualstudio.microsoft.com/download/pr/9650e3a6-0399-4330-a363-1add761127f9/14d80726c16d0e3d36db2ee5c11928e4/dotnet-sdk-2.2.102-linux-arm.tar.gz
wget https://download.visualstudio.microsoft.com/download/pr/9d049226-1f28-4d3d-a4ff-314e56b223c5/f67ab05a3d70b2bff46ff25e2b3acd2a/aspnetcore-runtime-2.2.1-linux-arm.tar.gz

mkdir -p /home/dotnet
tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C /home/dotnet
export DOTNET_ROOT=/home/dotnet
export PATH=$PATH:/home/dotnet

tar zxf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C /home/dotnet/dotnet
ln -s /home/dotnet/dotnet /usr/local/bin

вывод

dotnet --info


root@raspberrypi:/home# dotnet --info .NET Core SDK (reflecting any global.json):
Version: 2.2.102
Commit: 96ff75a873

Runtime Environment:
OS Name: raspbian
OS Version: 9
OS Platform: Linux
RID: linux-arm
Base Path: /home/dotnet/sdk/2.2.102/

Host (useful for support):
Version: 2.2.1
Commit: 878dd11e62

.NET Core SDKs installed:
2.2.102 [/home/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.1 [/home/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.1 [/home/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.1 [/home/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download