Installing
-
2. Enabling .NET Repository
Add .NET Repository for Ubuntu 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 6 in Ubuntu
For the Dotnet SDK play:sudo apt install -y dotnet-sdk-6.0
And instead for ASP.NET Core Runtime (Already included in the SDK):
sudo apt install -y aspnetcore-runtime-6.0
Finally, to install only the .NET Runtime without ASP.NET Core support:
sudo apt install -y dotnet-runtime-6.0
Contents