Install the. NET Core SDK manually on Linux ubuntu

Source: Internet
Author: User
Tags dotnet

The Ubuntu 14.04 system that reinstalled a Linux server today needs to reinstall. NET Core 1.0.

Follow the documentation on the official website with the Apt-get command 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

Running the DOTNET-V command after installation prompts you not to find the command:

Dotnet:command not found

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

Later, the. NET Core SDK binary compression package was found on the GitHub home page of the dotnet CLI, so it was installed by hand.

Create and enter the Dotnet folder first:

Mkdir/usr/share/dotnet && CD $_

Then 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-

Finally, create a soft link to do it:

Ln-s/usr/share/dotnet/dotnet/usr/bin/dotnet 

Install the. NET Core SDK manually on Linux ubuntu

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.