2017-08-14 18:11:39 +02:00
# .NET Core 2.0.0
2017-08-22 18:27:12 +02:00
.NET Core 2.0.0 comprises:
2017-08-14 18:11:39 +02:00
* .NET Core Runtime 2.0.0
* .NET Core SDK 2.0.0
| | SDK Installer | SDK Binaries | Runtime Installer | Runtime Binaries |
| ----------------------- | :----------------------------------------------: | :----------------------------------------------:| :--: | :--: |
2017-08-15 22:58:20 +02:00
| Windows | [32-bit ](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x86.exe ) / [64-bit ](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-win-x64.exe ) | [32-bit ](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-win-x86.zip ) / [64-bit ](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-win-x64.zip ) | [32-bit ](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-win-x86.exe ) / [64-bit ](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-win-x64.exe ) | [32-bit ](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-win-x86.zip ) / [64-bit ](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-win-x64.zip ) |
2017-08-14 18:11:39 +02:00
| macOS | [64-bit ](https://download.microsoft.com/download/0/F/D/0FD852A4-7EA1-4E2A-983A-0484AC19B92C/dotnet-sdk-2.0.0-osx-x64.pkg ) | [64-bit ](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-osx-x64.tar.gz ) | [64-bit ](https://download.microsoft.com/download/5/6/B/56BFEF92-9045-4414-970C-AB31E0FC07EC/dotnet-runtime-2.0.0-osx-x64.pkg ) | [64-bit ](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-osx-x64.tar.gz ) |
| Linux * | - | [64-bit ](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-linux-x64.tar.gz ) | - | [64-bit ](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-linux-x64.tar.gz ) |
| Ubuntu | See installations steps below | [64-bit ](https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-linux-x64.tar.gz ) | See installation steps below | [64-bit ](https://download.microsoft.com/download/5/F/0/5F0362BD-7D0A-4A9D-9BF9-022C6B15B04D/dotnet-runtime-2.0.0-linux-x64.tar.gz ) |
2021-02-24 18:33:19 +01:00
**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 ](https://github.com/dotnet/core/blob/main/release-notes/2.0/2.0-supported-os.md ).
2017-08-14 18:11:39 +02:00
**Checksum** files to verify downloads are available as follows:
* [Checksums_Runtime ](https://dotnetcli.blob.core.windows.net/dotnet/checksums/2.0.0-runtime-sha.txt )
* [Checksums_SDK ](https://dotnetcli.blob.core.windows.net/dotnet/checksums/2.0.0-sdk-sha.txt )
**Debug Symbols**
* [Shared Framework ](https://download.microsoft.com/download/D/E/B/DEB55D32-4CC3-46B0-A241-1A5BF2BB533C/corefx-2.0-symbols.zip )
2017-10-31 22:08:01 +01:00
* [Runtime and Core-Setup ](https://download.microsoft.com/download/D/E/B/DEB55D32-4CC3-46B0-A241-1A5BF2BB533C/core-setup-2.0-symbols.zip )
2017-08-14 18:11:39 +02:00
## Docker
Images for .NET Core 2.0.0 are available on [Docker ](https://hub.docker.com/r/microsoft/dotnet/ ).
2017-08-31 22:25:21 +02:00
## Installing .NET Core on Linux
2017-08-14 18:11:39 +02:00
2017-08-31 22:25:21 +02:00
### Uninstall any Preview versions
2017-08-14 18:11:39 +02:00
2017-08-31 22:25:21 +02:00
If you have .NET Core Previews installed, it will need to be removed before attempting to install .NET Core 2.0. This can be done by running a command such as the following.
2017-08-14 18:11:39 +02:00
2017-10-25 19:30:44 +02:00
`sudo apt autoremove dotnet-dev-2.0.0-preview2-006497`
2017-08-14 18:11:39 +02:00
2017-08-31 22:25:21 +02:00
### Ubuntu and Debian based systems
2017-08-14 18:11:39 +02:00
2017-10-25 19:30:44 +02:00
Register the Microsoft signing key, the product repository for your distro and install required system dependencies with the following scripts.
#### Ubuntu 17.10
```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
```
2017-08-14 18:11:39 +02:00
2017-08-31 22:25:21 +02:00
#### Ubuntu 17.04
2017-08-14 18:11:39 +02:00
2017-08-31 22:25:21 +02:00
```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
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'
```
2017-08-14 18:27:10 +02:00
2017-08-31 22:25:21 +02:00
#### Ubuntu 16.04 and Linux Mint 18
2017-08-14 18:27:10 +02:00
2017-08-31 22:25:21 +02:00
```bash
2017-08-14 18:27:10 +02:00
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
2017-08-31 22:25:21 +02:00
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'
2017-08-14 18:32:38 +02:00
```
2017-08-14 18:11:39 +02:00
#### Ubuntu 14.04 and Linux Mint 17
```bash
2017-08-31 22:25:21 +02:00
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
2017-08-14 18:27:10 +02:00
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'
2017-08-14 18:11:39 +02:00
```
2017-08-31 22:25:21 +02:00
#### Debian 9 (Stretch)
2017-08-14 18:11:39 +02:00
```bash
2017-08-31 22:25:21 +02:00
sudo apt-get install curl libunwind8 gettext apt-transport-https
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/dotnetdev.list'
2017-08-14 18:11:39 +02:00
```
2017-08-31 22:25:21 +02:00
#### Debian 8 (Jessie)
2017-08-14 18:11:39 +02:00
```bash
2017-08-31 22:25:21 +02:00
sudo apt-get install curl libunwind8 gettext
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-jessie-prod jessie main" > /etc/apt/sources.list.d/dotnetdev.list'
2017-08-14 18:11:39 +02:00
```
2017-08-31 22:25:21 +02:00
Then, update the package cache and install .NET Core
2017-08-14 18:11:39 +02:00
```bash
sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0
```
2017-08-31 22:25:21 +02:00
### RHEL and Fedora based systems
Register the Microsoft key, the product repository for your distro and install required system dependencies with the following scripts.
#### Fedora, CentOS, Oracle Linux
```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl=https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/dotnetdev.repo'
sudo yum install libunwind libicu
```
#### SUSE Enterprise Linux and OpenSUSE
```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl=https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/dotnetdev.repo'
2017-08-31 22:43:24 +02:00
sudo zypper install libunwind libicu
2017-08-31 22:25:21 +02:00
```
Then, update the package cache and install .NET Core
#### Fedora, CentOS and Oracle Linux
```bash
sudo yum update
sudo yum install dotnet-sdk-2.0.0
```
#### SUSE Enterprise Linux and OpenSUSE
```bash
sudo zypper update
sudo zypper install dotnet-sdk-2.0.0
```
**Note:** When installing the SDK, SUSE and OpenSUSE may report that nothing provides libcurl. libcurl should already be installed on supported versions of both distros. Run zypper search libcurl to confirm. The error will present 2 'solutions'. Choose 'Solution 2' to continue installing .NET Core.
## Installation from a binary archive
2021-02-24 18:33:19 +01:00
Installing from the packages detailed above is recommended and you can also install from 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 ](https://github.com/dotnet/core/blob/main/release-notes/2.0/2.0.0-known-issues.md ).
2017-08-31 22:25:21 +02:00
```bash
mkdir -p $HOME/dotnet & & tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet
```
2017-08-14 18:11:39 +02:00
## 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:
2017-08-31 22:25:21 +02:00
[DotNetCore.2.0.0-WindowsHosting.exe ](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/DotNetCore.2.0.0-WindowsHosting.exe )
2017-08-14 18:11:39 +02:00
### 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.
* [AspNetCore.2.0.0.RuntimePackageStore_x64.exe ](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/AspNetCore.2.0.0.RuntimePackageStore_x64.exe )
* [AspNetCore.2.0.0.RuntimePackageStore_x86.exe ](https://download.microsoft.com/download/B/1/D/B1D7D5BF-3920-47AA-94BD-7A6E48822F18/AspNetCore.2.0.0.RuntimePackageStore_x86.exe )