树莓派安装 dotnet core 2.1

sudo apt-get update

1.安装依赖

sudo apt-get install curl libunwind8 gettext

2.下载 SDK 或者 RunTime

https://www.microsoft.com/net/download/linux

树莓派安装 dotnet core 2.1

 

curl -sSL -o dotnet.tar.gz https://download.microsoft.com/download/1/f/7/1f7755c5-934d-4638-b89f-1f4ffa5afe89/dotnet-runtime-2.1.2-linux-arm.tar.gz

3.提取内容

sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet

4.设置可以执行 dotnet

sudo ln -s /opt/dotnet/dotnet /usr/local/bin

 

 5.测试安装

dotnet --help

树莓派安装 dotnet core 2.1

 

 参考

 https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/

https://docs.microsoft.com/zh-cn/dotnet/core/

https://www.cnblogs.com/songxingzhu/p/7399991.html

https://github.com/dotnet/core

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wpggdp.html