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