core 2.2

安装.net core2.1 by centos

2022-05-06  本文已影响0人  落地成佛

1、下载依赖包libunwind,地址:
https://centos.pkgs.org/7/centos-x86_64/libunwind-1.2-2.el7.x86_64.rpm.html
2、libunwind安装
rpm -ivh libunwind-1.2-2.el7.x86_64.rpm
3、下载.net core sdk 安装包,地址:
https://dotnet.microsoft.com/en-us/download/dotnet/2.1
4、安装.net core
mkdir -p HOME/dotnet && tar zxf dotnet-sdk-2.1.526-linux-x64.tar.gz -CHOME/dotnet
5、配置环境
在/etc/profile文件末尾加上两行:
export DOTNET_ROOT=HOME/dotnet export PATH=PATH:$HOME/dotnet
6、检查是否成功
dotnet --info

上一篇下一篇

猜你喜欢

热点阅读