Linux Installation Net CORE

Source: Internet
Author: User
Tags dotnet linux mint

Linux installation. NET CORE

1. Add The dotnet apt-get feed

In order to install. NET on Ubuntu or Linux Mint, you need to first set up a apt-get feed that hosts the required packages.

Registering the Microsoft Product Key as trusted

Curl https:///PACKAGES.MICROSOFT.COM/KEYS/MICROSOFT.ASC | gpg--dearmor > MICROSOFT.GPGsudo mv Microsoft.gpg/etc/apt/trusted.gpg.d/microsoft.gpg

Register your release version of the Microsoft product feed

sudo sh-c ' echo ' Deb [ARCH=AMD64] Https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main ">/ Etc/apt/sources.list.d/dotnetdev.list '

View

Cat/etc/apt/sources.list.d/dotnetdev.list

Update your package directory

sudo apt-get update

2. Install. NET Core SDK

Before you begin, remove any previous preview versions of. NET Core from your system. To install. NET Core on Ubuntu or Linux mint, just use Apt-get.

sudo apt-get install dotnet-sdk-2.0. 0

View the. NET Core version

Dotnet--version

Linux Installation Net CORE

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.