Manually install. NET Core SDK in Ubuntu 14.04

Source: Internet
Author: User

Manually install. NET Core SDK in Ubuntu 14.04

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

Install the SDK by using the apt-get command according to the documents on the Official Website:

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

After installation, run the dotnet-v command, but the system 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 

Configure the. NET Core environment in Ubuntu 16.04

Deploy ASP. NET Core RTM with Jexus in Ubuntu 16.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.