A method for manually installing the. NET Core SDK on a Linux Ubuntu system-Basic Application

Source: Internet
Author: User
Tags dotnet

Objective

. NET distribution has been over 14 years now. As the version continues to iterate over the updates,. NET is also getting better on the Windows platform, and it can be said that all of the application types on the Windows platform are almost complete.

Just into Windows, also, failed windows, which for 14 years, in addition to part of the "folk" version. NET has not been able to get rid of the limitations of Windows platform with official support, "open source" and "cross-platform" The two words are also all. NET developer in the heart of pain. Eventually,. NET core emerged, allowing developers to get out of windows with official and community support, and to write debugging and deploy. NET programs on the Macos,linux mainstream distributions.

Installation method

Today, the Ubuntu 14.04 system for a Linux server is reinstalled and needs to reinstall. NET Core 1.0.

Follow the official web document with apt-get a 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 417A0893 sudo apt-get update
sudo apt-get install dotnet-dev-1.0.0-preview2-003121

Running commands after installation dotnet -v prompts for no command:

Dotnet:command not found

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

The download address of the. NET Core SDK Binary package was later found on the GitHub home page of the dotnet CLI and was manually installed.

First create and enter the Dotnet folder:

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, you can create a soft link:

 
 

Summarize

The above is the entire content of this article, I hope the content of this article for everyone's study or work can bring certain help, if you have questions you can message exchange.

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.