How to manually install. NET Core SDK on Linux Ubuntu, javastusdk

Source: Internet
Author: User
Tags dotnet

How to manually install. NET Core SDK on Linux Ubuntu, javastusdk

Preface

. NET has been released for 14 years. With the version update and iteration,. NET performance on the Windows platform is also getting better and better. It can be said that almost all application types on the Windows platform. NET can be completed.

In the past fourteen years, apart from some "private" versions ,. NET has never been able to get rid of the limitations of the Windows platform with official support. The words "Open Source" and "cross-platform" are also all. NET developers. In the end,. NET Core emerged. It allowed developers to exit Windows with official and community support and write, debug, and deploy. NET programs on mainstream distributions of macOS and Linux.

Installation Method

We have installed Ubuntu 14.04 on a Linux server. We need to reinstall. NET Core 1.0.

Use it according to the documents on the Official Websiteapt-getCommand to install:

sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893sudo apt-get updatesudo apt-get install dotnet-dev-1.0.0-preview2-003121

Run after installationdotnet -vThe command prompts that the command cannot be found:

dotnet: command not found

Whereis dotnet a look, only in the/usr/share/dotnet/sdk/1.0.0-preview2-003121 has a file,/usr/share/dotnet even dotnet executable files are not.

Later, the. NET Core SDK Binary Package was found on the github homepage of dotnet cli, and was manually installed.

First, create and enter the dotnet Folder:

mkdir /usr/share/dotnet && cd $_

Download and unzip the. NET Core SDK Binary installation package:

curl -sSl https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-ubuntu-x64.latest.tar.gz | tar zxfv -

Create a soft link:

ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet 

Summary

The above is all about this article. I hope this article will help you in your study or work. If you have any questions, please leave a message.

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.