If your download doesn't start after 30 seconds, click here to download manually.
Make sure your system meets the .NET dependencies and requirements.
When your download completes, open a terminal and run the following commands to extract the SDK and make the commands available at the terminal.
mkdir -p $HOME/dotnet && tar zxf dotnet-dev-opensuse.42.1-x18.104.22.168-preview2-1-003177.tar.gz -C $HOME/dotnet export PATH=$PATH:$HOME/dotnet
The previous commands will only make the .NET SDK commands available for the terminal session in which it was run.
You can edit your shell profile to permanently add the commands. There are several different shells available for Linux and each has a different profile. For example:
Edit the appropriate source file for you shell and add
:$HOME/dotnet to the end of the existing
PATH statement. If no
PATH statement is included, add a new line with
dotnet command in your terminal. This will verify .NET is correctly installed and ready to use.
Now that you've got .NET installed, let's build your first app with our step-by-step tutorial.