6.5 KiB
.NET Core 2.0.0
.NET Core 2.0.0 comprises:
- .NET Core Runtime 2.0.0
- .NET Core SDK 2.0.0
SDK Installer | SDK Binaries | Runtime Installer | Runtime Binaries | |
---|---|---|---|---|
Windows | 32-bit / 64-bit | 32-bit / 64-bit | 32-bit / 64-bit | 32-bit / 64-bit |
macOS | 64-bit | 64-bit | 64-bit | 64-bit |
Linux * | - | 64-bit | - | 64-bit |
Ubuntu | See installations steps below | 64-bit | See installation steps below | 64-bit |
Note: The 'Linux' binary archives are new for the 2.0 release. This package contains binaries which are compatible with Linux distros and versions supported by .NET Core.
Checksum files to verify downloads are available as follows:
Debug Symbols
Docker
Images for .NET Core 2.0.0 are available on Docker.
Installation from a binary archive
When using binary archives to install, the contents must be extracted to a user location such as $HOME/dotnet
and a symbolic link created for dotnet
. This is a change from previous versions of .NET Core. Additional details can be seen in .NET Core 2.0 Known Issues. Ubuntu and Mint users should follow the instructions in the Ubuntu Installation section below.
mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet
Ubuntu installation
Uninstall Preview 2
If you have .NET Core Preview 2 installed, it will need to be removed before attempting to install .NET Core 2.0. This can be done by running the following command.
sudo apt remove dotnet-dev-2.0.0-preview2-006497
Add the dotnet apt-get feed
The first step is to establish the source feed for the package manager.
Register the Microsoft Product key as trusted
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
Ubuntu 14.04 and Linux Mint 17
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
Ubuntu 16.04 and Linux Mint 18
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
Ubuntu 17.04
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-zesty-prod zesty main" > /etc/apt/sources.list.d/dotnetdev.list'
Install .NET Core 2.0
To install .NET Core 2.0 on Ubuntu or Linux Mint, simply use apt-get.
sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0
Windows Server Hosting
If you are looking to host stand-alone apps on Windows Servers, the ASP.NET Core Module for IIS can be installed separately on servers without installing .NET Core runtime. You can download the Windows (Server Hosting) installer and run the following command from an Administrator command prompt:
DotNetCore.2.0.0-WindowsHosting.exe
ASP.NET Core Package Store
The Runtime Package Store is installed by the .NET Core SDK and the Windows Server Hosting installer. If you need to install the Runtime Package Store separately, the following can be used.