Installing
-
2. Enabling .NET Repository
Add .NET Repository for Elementary OS GNU/Linux
-
3. Installing Dependencies
Next to Install Required Package
Simply play:sudo apt install -y apt-transport-https
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo -
4. Installing .NET Core
Then to Install .NET Core 5.0 in Elementary OS
For the Dotnet SDK play:sudo apt install -y dotnet-sdk-5.0
And instead for ASP.NET Core Runtime (Already included in the SDK):
sudo apt install -y aspnetcore-runtime-5.0
Finally, to install only the .NET Runtime without ASP.NET Core support:
sudo apt install -y dotnet-runtime-5.0
Contents