1. 安装环境依赖包

     输入命令 yum install libunwind libicu

Linux与.Net Core(三) .NET Core运行环境安装

Linux与.Net Core(三) .NET Core运行环境安装

Linux与.Net Core(三) .NET Core运行环境安装

2.下载.NET SDK

     输入命令 sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

Linux与.Net Core(三) .NET Core运行环境安装

3.更新系统软件包

    输入命令 sudo yum update

Linux与.Net Core(三) .NET Core运行环境安装

4.安装.NET Core SDK

    输入命令 sudo yum install dotnet-sdk-2.1

Linux与.Net Core(三) .NET Core运行环境安装

Linux与.Net Core(三) .NET Core运行环境安装

 回车输入 ”Y”

Linux与.Net Core(三) .NET Core运行环境安装

回车输入 ”Y”

Linux与.Net Core(三) .NET Core运行环境安装

5.创建应用程序

    输入命令 dotnet new console -o myAppDemo

Linux与.Net Core(三) .NET Core运行环境安装

6.进入该文件目录

输入命令 cd myAppDemo/

Linux与.Net Core(三) .NET Core运行环境安装

7.检验是否安装成功

              输入命令  dotnet run

Linux与.Net Core(三) .NET Core运行环境安装

显示以上信息,证明.NET Core SDK 环境安装成功

 

相关文章:

  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2018-06-22
  • 2022-12-23
  • 2021-06-14
  • 2021-11-01
猜你喜欢
  • 2021-12-28
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案