Permalink
e839cbe Mar 13, 2018
3 contributors

Users who have contributed to this file

@leecow @jnm2 @DamianEdwards
92 lines (60 sloc) 6.98 KB

.NET Core 2.0.0 Preview 2

.NET Core 2.0.0 Preview 2 comprises:

  • .NET Core Runtime 2.0.0 Preview 2 build 25407-01
  • .NET Core SDK 2.0.0 Preview 2 build 006497
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 Preview 2 are available on Docker.

Installation from a binary archive

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

Ubuntu installation

Uninstall Preview 1

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

Add the dotnet apt-get feed

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.

Ubuntu 14.04 and Linux Mint 17

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

Ubuntu 16.04 and Linux Mint 18

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

Ubuntu 16.10

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

Install .NET Core 2.0 Preview 2

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

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-Preview2-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.