Installing the ASP. NET core runtime environment in Linux

Source: Internet
Author: User
Tags dotnet

I am using the CENTOS7, other Linux please refer to Microsoft documentation Microsoft Official Introduction Document:
Https://www.microsoft.com/net/learn/get-started/linux/centos

1. Add dotnet Product Feed

To start installing. NET, you need to register your Microsoft signing key and add a Microsoft product feed. This only needs to be done once on each machine. Run the following command from the command prompt:


sudo rpm--import https://packages.microsoft.com/keys/microsoft.asc

sudo sh-c ' echo-e ' [Packages-microsoft-com-prod]name=packages-microsoft-com-prod baseurl= https:// Packages.microsoft.com/yumrepos/microsoft-rhel7.3-prodenabled=1gpgcheck=1gpgkey=https://packages.microsoft.com /keys/microsoft.asc ">/etc/yum.repos.d/dotnetdev.repo"




2. Start installing the ASP. NET Core Runtime Environment

Run the following command from the command prompt:

sudo yum update//Upgrade Warehouse

sudo yum-y install Libunwind Libicu

sudo yum install dotnet-sdk-2.0.3

3. Determine if the installation was successful

Run the dotnet--version command to display the runtime environment version

Installing the ASP. NET core runtime environment in Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.