在CentOS7中安装.Net Core2.0 SDK

1.sudo yum install libunwind libicu(安装libicu依赖)
2.curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=809131(下载sdk压缩包)
3.sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet(解压缩)
4.sudo ln -s /opt/dotnet/dotnet /usr/local/bin(创建链接)
5.输入 dotnet –info 来查看是否安装成功

 

posted @ 2018-03-08 15:34  snailteam  阅读(367)  评论(0编辑  收藏  举报