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-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
Run after installationdotnet -v
The 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.