Configure the. NET Core environment in Ubuntu 16.04

Source: Internet
Author: User

Configure the. NET Core environment in Ubuntu 16.04

Use VMware10.0.4 to install Ubuntu 16.04 and configure the. NET Core environment.

Ubuntu 16.04 desktop:http://releases.ubuntu.com/16.04/
Microsoft provides Linux environment configuration steps Reference documents: https://www.microsoft.com/net/core#ubuntu

Ubuntu 16.04 LTS was officially released and downloaded for 5 years of technical support

Ubuntu 16.04 USB flash drive installation graphic tutorial

15 things to be configured after installing Ubuntu 16.04 LTS

Ubuntu 16.04 LTS released Canonical today to announce new system features

Check for new features and improvements worth noting in Ubuntu 16.04 LTS

V1, the configuration command is as follows: sudo sh-c 'echo "deb [arch = amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ xenial main">/etc/apt/sources. list. d/dotnetdev. list 'sudo apt-key adv -- keyserver apt-mo.trafficmanager.net -- recv-keys unzip a0893sudo apt-get update v2, install. NET Core SDKsudo apt-get install dotnet-dev-1.0.0-preview2-003121 v3, let's initialize an example!
  1. Mkdir hwapp
  2. Cd hwapp
  3. Dotnet new
V4, run the application

The first command restores the package specified by the project. json file, and the second command runs the sample project:

  1. Dotnet restore
  2. Dotnet run

The environment is successfully built and tested.

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.