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