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#ubuntuUbuntu 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!
- Mkdir hwapp
- Cd hwapp
- 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:
- Dotnet restore
- Dotnet run
The environment is successfully built and tested.