. NET Core Install for Ubuntu 14.04

Source: Internet
Author: User
Tags dotnet linux mint

  1. Add the dotnet apt-get feed

    In order to install. NET Core on Ubuntu or Linux Mint, you need to first set up the Apt-get feed this hosts the package yo u need.

    Ubuntu 14.04/linux Mint 17
      1. sudo sh-c ' echo ' Deb [ARCH=AMD64] https://apt-mo.trafficmanager.net/repos/dotnet-release/trusty main ">/etc/apt/ Sources.list.d/dotnetdev.list '
      2. sudo apt-key adv--keyserver apt-mo.trafficmanager.net--recv-keys 417a0893
      3. sudo apt-get update
    Ubuntu 16.04
      1. sudo sh-c ' echo ' Deb [ARCH=AMD64] https://apt-mo.trafficmanager.net/repos/dotnet-release/xenial main ">/etc/apt/ Sources.list.d/dotnetdev.list '
      2. sudo apt-key adv--keyserver apt-mo.trafficmanager.net--recv-keys 417a0893
      3. sudo apt-get update
  2. 2Install. NET Core SDK

    Before you start and remove any previous versions of the. NET Core from the your system by using this script.

    To. NET Core on Ubuntu or Linux Mint, simply use Apt-get.

    1. sudo apt-get install dotnet-dev-1.0.0-preview2-003131
  3. 3Initialize some code

    Let's initialize a sample Hello world application!

    1. mkdir Hwapp
    2. CD Hwapp
    3. dotnet New
  4. 4Run the App

    The first command would restore the packages specified in the Project.json file, and the second command would run the actual Sample

    Ps:https://www.microsoft.com/net/core#ubuntu

. NET Core Install for Ubuntu 14.04

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.