.NET Core 2.0.0 Preview 2 comprises:
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
Images for .NET Core 2.0.0 Preview 2 are available on Docker.
When using binary archives to install, we recommend the contents be extracted to /opt/dotnet
and a symbolic link created for dotnet
. If an earlier release of .NET Core is already installed, the directory and symbolic link may already exist. Ubuntu and Mint users should follow the instructions in the Ubuntu Installation section below.
sudo mkdir -p /opt/dotnet
sudo tar zxf [tar.gz filename] -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
If you have .NET Core Preview 1 installed, it will need to be removed before attempting to install Preview 2. This can be done by running the following command.
sudo apt remove dotnet-dev-2.0.0-preview1-005977
The first step is to establish the source feed for the package manager. This is only needed if you have not previously set up the source or if you are installing for the first time.
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 hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ yakkety main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
To install .NET Core 2.0 Preview on Ubuntu or Linux Mint, simply use apt-get.
sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0-preview2-006497
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-Preview2-WindowsHosting.exe
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.