.NET Core 2.0.7 comprises:
Update The May 2018 release includes The .NET Core SDK 2.1.200 download page also includes an updated DotNetCore.2.0.7-WindowsHosting installer. This will be needed if you have Hosting configurations to update.
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 * | See installations steps below | 64-bit | - | 64-bit |
Checksum files to verify downloads are available as follows:
Debug Symbols
Images for .NET Core 2.0.7 are available on Docker.
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.
sudo apt remove dotnet-dev-2.0.0-preview2-006497
Register the Microsoft key, the product repository for your distro and install required system dependencies with the following scripts.
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/ubuntu/18.04/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
wget -q -O packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/17.10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
wget -q -O packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
wget -q -O packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/9/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/8/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
Then, update the package cache and install .NET Core
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.1.105
Register the Microsoft key, the product repository for your distro and install required system dependencies with the following scripts.
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo rpm -Uvh https://packages.microsoft.com/config/sles/12/packages-microsoft-prod.rpm
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
wget -q https://packages.microsoft.com/config/opensuse/42.2/prod.repo
sudo mv prod.repo /etc/zypp/repos.d/microsoft-prod.repo
Then, update the package cache and install .NET Core
sudo yum update
sudo yum install dotnet-sdk-2.1.105
sudo zypper update
sudo zypper install dotnet-sdk-2.1.105
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.
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
.
mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet
If only the .NET Core Runtime is needed, install dotnet-runtime-2.0.7
using your package manager.
If you are looking to host stand-alone apps on Servers, the following installers can be used on Windows and Linx systems.
You can download the Windows Server Hosting installer and run the following command from an Administrator command prompt: DotNetCore.2.0.7-WindowsHosting.exe This will install the ASP.NET Core Module for IIS
On supported Linux systems, register the Microsoft Product feed as described above and install dotnet-hosting-2.0.7
using your package manager.
This will also install the .NET Core Runtime and other required packages.
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.
On Linux systems install aspnetcore-store-2.0.7
using your package manager. This will install both the ASP.NET Core and .NET Core runtime components.