码迷,mamicode.com
首页 > Web开发 > 详细

CentOS上安装.NET Core SDK

时间:2018-03-08 02:51:11      阅读:270      评论:0      收藏:0      [点我收藏+]

标签:ros   microsoft   command   imp   href   san   tar   margin   round   

 

Add the dotnet product feed

To start installing .NET, you‘ll need to register the Microsoft signature key and add the Microsoft Product feed. This only needs to be done once per machine.

Open a command prompt and run the following commands:

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c ‘echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl= https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/dotnetdev.repo‘

Install the .NET SDK

Update the products available for installation, install the components required by .NET, then install the .NET SDK.

In your command prompt, run the following commands:

sudo yum update
sudo yum install libunwind libicu
sudo yum install dotnet-sdk-2.1.4

<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">

CentOS上安装.NET Core SDK

标签:ros   microsoft   command   imp   href   san   tar   margin   round   

原文地址:https://www.cnblogs.com/james2018/p/676e0640e7c1e83f7dd61ba2b2861e06.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!