If you have .NET Core Previews or daily builds installed, these to be removed before attempting to install .NET Core 2.1 Preview1. This can be done by running a command such as the following.
We do not have 18.04 product feeds available yet, there is an option for installing the .NET 2.1 Preview using the Linux binary tar.gz.
First, download [dotnet-sdk-2.1.300-preview1-008174-linux-x64.tar.gz](https://download.microsoft.com/download/D/7/8/D788D3CD-44C4-487D-829B-413E914FB1C3/dotnet-sdk-2.1.300-preview1-008174-linux-x64.tar.gz). Next, run the following commands to unpack the archive and install a needed system dependency.
```bash
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.1.300-preview1-008174-linux-x64.tar.gz -C $HOME/dotnet
**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
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`.
```bash
mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet
```
## .NET Core Runtime-only installation
If only the .NET Core Runtime is needed, install `dotnet-runtime-2.1.0-preview1-26216-03` using your package manager.
## Server Hosting
If you are looking to host stand-alone apps on Servers, the following installers can be used on Windows and Linx systems.
### Windows
You can download the Windows Server Hosting installer and run the following command from an Administrator command prompt:
On supported Linux systems, register the Microsoft Product feed as described above and install `dotnet-hosting-2.1.0-preview1-final` using your package manager.
This will also install the .NET Core Runtime and other required packages.
### ASP.NET Core Runtime
The ASP.NET Core Runtime is installed by the .NET Core SDK and the Windows Server Hosting installer. If you need to install the ASP.NET Runtime separately, the following can be used.
On Linux systems install `aspnetcore-runtime-2.1.0-preview1-final` using your package manager. This will install both the ASP.NET Core and .NET Core runtime components.