美文网首页core 2.2
安装.net core2.1 by centos

安装.net core2.1 by centos

作者: 落地成佛 | 来源:发表于2022-05-06 17:53 被阅读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

    相关文章

      网友评论

        本文标题:安装.net core2.1 by centos

        本文链接:https://www.haomeiwen.com/subject/ktjusctx.html