在树莓派上运行
步骤 1
使用 Raspbian Stretch (2018-11-13) 刷入 8GB SD 卡。BelenaEtcher 是一个不错的工具。
插入 SD 卡并启动树莓派。
您可以按照此指南进行操作,下面是摘要:
步骤 2
- 安装
curl、libunwind8、gettext和apt-transport-https。通常curl和apt-transport-https已经是最新的版本。
sudo apt-get install curl libunwind8 gettext apt-transport-https
- 下载 tar 包。
curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz
- 解压缩 tar 包到
/opt/dotnet。
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet